summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/ati_pcigart.c1
-rw-r--r--linux-core/drm_agpsupport.c1
-rw-r--r--linux-core/drm_auth.c1
-rw-r--r--linux-core/drm_bufs.c1
-rw-r--r--linux-core/drm_context.c1
-rw-r--r--linux-core/drm_dma.c1
-rw-r--r--linux-core/drm_drawable.c1
-rw-r--r--linux-core/drm_fops.c1
-rw-r--r--linux-core/drm_init.c1
-rw-r--r--linux-core/drm_ioctl.c1
-rw-r--r--linux-core/drm_irq.c1
-rw-r--r--linux-core/drm_lock.c1
-rw-r--r--linux-core/drm_memory.h1
-rw-r--r--linux-core/drm_memory_debug.h1
-rw-r--r--linux-core/drm_os_linux.h1
-rw-r--r--linux-core/drm_pci.c1
-rw-r--r--linux-core/drm_proc.c1
-rw-r--r--linux-core/drm_scatter.c1
-rw-r--r--linux-core/drm_stub.c1
-rw-r--r--linux-core/drm_vm.c1
-rw-r--r--linux-core/i810_dma.c1
-rw-r--r--linux-core/i830_dma.c1
-rw-r--r--linux-core/i830_irq.c1
-rw-r--r--linux-core/savage_dma.c1
-rw-r--r--linux/ati_pcigart.h1
-rw-r--r--linux/drm_agpsupport.h1
-rw-r--r--linux/drm_auth.h1
-rw-r--r--linux/drm_bufs.h1
-rw-r--r--linux/drm_context.h1
-rw-r--r--linux/drm_dma.h1
-rw-r--r--linux/drm_drawable.h1
-rw-r--r--linux/drm_fops.h1
-rw-r--r--linux/drm_init.h1
-rw-r--r--linux/drm_ioctl.h1
-rw-r--r--linux/drm_irq.h1
-rw-r--r--linux/drm_lock.h1
-rw-r--r--linux/drm_memory.h1
-rw-r--r--linux/drm_memory_debug.h1
-rw-r--r--linux/drm_os_linux.h1
-rw-r--r--linux/drm_pci.h1
-rw-r--r--linux/drm_proc.h1
-rw-r--r--linux/drm_scatter.h1
-rw-r--r--linux/drm_stub.h1
-rw-r--r--linux/drm_vm.h1
-rw-r--r--linux/gamma_dma.c1
-rw-r--r--linux/gamma_lists.h1
-rw-r--r--linux/i810_dma.c1
-rw-r--r--linux/i830_dma.c1
-rw-r--r--linux/i830_irq.c1
-rw-r--r--linux/savage_dma.c1
-rw-r--r--shared-core/i915_dma.c1
-rw-r--r--shared-core/i915_irq.c1
-rw-r--r--shared-core/mach64_state.c1
-rw-r--r--shared-core/via_dma.c1
-rw-r--r--shared-core/via_ds.c1
-rw-r--r--shared-core/via_map.c1
-rw-r--r--shared-core/via_mm.c1
-rw-r--r--shared/i915_dma.c1
-rw-r--r--shared/i915_irq.c1
-rw-r--r--shared/mach64_state.c1
-rw-r--r--shared/via_dma.c1
-rw-r--r--shared/via_ds.c1
-rw-r--r--shared/via_map.c1
-rw-r--r--shared/via_mm.c1
64 files changed, 0 insertions, 64 deletions
diff --git a/linux-core/ati_pcigart.c b/linux-core/ati_pcigart.c
index b930683e..bf599e42 100644
--- a/linux-core/ati_pcigart.c
+++ b/linux-core/ati_pcigart.c
@@ -31,7 +31,6 @@
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#if PAGE_SIZE == 65536
diff --git a/linux-core/drm_agpsupport.c b/linux-core/drm_agpsupport.c
index 12a8ba11..7d2f7125 100644
--- a/linux-core/drm_agpsupport.c
+++ b/linux-core/drm_agpsupport.c
@@ -31,7 +31,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#include <linux/module.h>
diff --git a/linux-core/drm_auth.c b/linux-core/drm_auth.c
index a6d174cd..fe099871 100644
--- a/linux-core/drm_auth.c
+++ b/linux-core/drm_auth.c
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
/**
diff --git a/linux-core/drm_bufs.c b/linux-core/drm_bufs.c
index 95858b80..c21ff748 100644
--- a/linux-core/drm_bufs.c
+++ b/linux-core/drm_bufs.c
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include <linux/vmalloc.h>
#include "drmP.h"
diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c
index cf3a536a..7ab376f1 100644
--- a/linux-core/drm_context.c
+++ b/linux-core/drm_context.c
@@ -40,7 +40,6 @@
* needed by SiS driver's memory management.
*/
-#define __NO_VERSION__
#include "drmP.h"
#ifndef DRIVER_ALTERNATE_CONTEXT
diff --git a/linux-core/drm_dma.c b/linux-core/drm_dma.c
index cf8d8931..096a5e9e 100644
--- a/linux-core/drm_dma.c
+++ b/linux-core/drm_dma.c
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
diff --git a/linux-core/drm_drawable.c b/linux-core/drm_drawable.c
index 59c13ef8..5f1562b6 100644
--- a/linux-core/drm_drawable.c
+++ b/linux-core/drm_drawable.c
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
/** No-op. */
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c
index 4589231f..21935b7a 100644
--- a/linux-core/drm_fops.c
+++ b/linux-core/drm_fops.c
@@ -34,7 +34,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#include <linux/poll.h>
diff --git a/linux-core/drm_init.c b/linux-core/drm_init.c
index 509e6841..ae6ecbf9 100644
--- a/linux-core/drm_init.c
+++ b/linux-core/drm_init.c
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
/** Debug flags. Set by parse_option(). */
diff --git a/linux-core/drm_ioctl.c b/linux-core/drm_ioctl.c
index 049afe11..c3725668 100644
--- a/linux-core/drm_ioctl.c
+++ b/linux-core/drm_ioctl.c
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#include "linux/pci.h"
diff --git a/linux-core/drm_irq.c b/linux-core/drm_irq.c
index 73a62e68..6065b967 100644
--- a/linux-core/drm_irq.c
+++ b/linux-core/drm_irq.c
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#include <linux/interrupt.h> /* For task queue support */
diff --git a/linux-core/drm_lock.c b/linux-core/drm_lock.c
index f6b887b3..55fb29f3 100644
--- a/linux-core/drm_lock.c
+++ b/linux-core/drm_lock.c
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
/** No-op ioctl. */
diff --git a/linux-core/drm_memory.h b/linux-core/drm_memory.h
index c407292a..fe8141c9 100644
--- a/linux-core/drm_memory.h
+++ b/linux-core/drm_memory.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include <linux/config.h>
#include <linux/highmem.h>
#include "drmP.h"
diff --git a/linux-core/drm_memory_debug.h b/linux-core/drm_memory_debug.h
index 4f23918d..0053679a 100644
--- a/linux-core/drm_memory_debug.h
+++ b/linux-core/drm_memory_debug.h
@@ -31,7 +31,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include <linux/config.h>
#include "drmP.h"
diff --git a/linux-core/drm_os_linux.h b/linux-core/drm_os_linux.h
index 6d2d0710..5a7c162d 100644
--- a/linux-core/drm_os_linux.h
+++ b/linux-core/drm_os_linux.h
@@ -3,7 +3,6 @@
* OS abstraction macros.
*/
-#define __NO_VERSION__
#include <linux/interrupt.h> /* For task queue support */
#include <linux/delay.h>
diff --git a/linux-core/drm_pci.c b/linux-core/drm_pci.c
index 28b53385..b9d54c45 100644
--- a/linux-core/drm_pci.c
+++ b/linux-core/drm_pci.c
@@ -38,7 +38,6 @@
*/
-#define __NO_VERSION__
#include <linux/pci.h>
#include "drmP.h"
diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c
index a9affc5a..7df63fbd 100644
--- a/linux-core/drm_proc.c
+++ b/linux-core/drm_proc.c
@@ -37,7 +37,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
static int DRM(name_info)(char *buf, char **start, off_t offset,
diff --git a/linux-core/drm_scatter.c b/linux-core/drm_scatter.c
index 89ac166a..3f0bc10c 100644
--- a/linux-core/drm_scatter.c
+++ b/linux-core/drm_scatter.c
@@ -31,7 +31,6 @@
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include <linux/config.h>
#include <linux/vmalloc.h>
#include "drmP.h"
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index b94e6a70..3d9ade35 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -31,7 +31,6 @@
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#define DRM_STUB_MAXCARDS 16 /* Enough for one machine */
diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c
index 9c444aff..ed5d53d2 100644
--- a/linux-core/drm_vm.c
+++ b/linux-core/drm_vm.c
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
diff --git a/linux-core/i810_dma.c b/linux-core/i810_dma.c
index 8ee32f74..51dddb3d 100644
--- a/linux-core/i810_dma.c
+++ b/linux-core/i810_dma.c
@@ -30,7 +30,6 @@
*
*/
-#define __NO_VERSION__
#include "i810.h"
#include "drmP.h"
#include "drm.h"
diff --git a/linux-core/i830_dma.c b/linux-core/i830_dma.c
index 8a110403..ac12b6dd 100644
--- a/linux-core/i830_dma.c
+++ b/linux-core/i830_dma.c
@@ -31,7 +31,6 @@
*
*/
-#define __NO_VERSION__
#include "i830.h"
#include "drmP.h"
#include "drm.h"
diff --git a/linux-core/i830_irq.c b/linux-core/i830_irq.c
index 0bb4ce8e..0f01d088 100644
--- a/linux-core/i830_irq.c
+++ b/linux-core/i830_irq.c
@@ -26,7 +26,6 @@
*
*/
-#define __NO_VERSION__
#include "i830.h"
#include "drmP.h"
#include "drm.h"
diff --git a/linux-core/savage_dma.c b/linux-core/savage_dma.c
index 271d1f23..b012e1ba 100644
--- a/linux-core/savage_dma.c
+++ b/linux-core/savage_dma.c
@@ -24,7 +24,6 @@
/*=========================================================*/
-#define __NO_VERSION__
#include "savage.h"
#include "drmP.h"
#include "savage_drv.h"
diff --git a/linux/ati_pcigart.h b/linux/ati_pcigart.h
index b930683e..bf599e42 100644
--- a/linux/ati_pcigart.h
+++ b/linux/ati_pcigart.h
@@ -31,7 +31,6 @@
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#if PAGE_SIZE == 65536
diff --git a/linux/drm_agpsupport.h b/linux/drm_agpsupport.h
index 12a8ba11..7d2f7125 100644
--- a/linux/drm_agpsupport.h
+++ b/linux/drm_agpsupport.h
@@ -31,7 +31,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#include <linux/module.h>
diff --git a/linux/drm_auth.h b/linux/drm_auth.h
index a6d174cd..fe099871 100644
--- a/linux/drm_auth.h
+++ b/linux/drm_auth.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
/**
diff --git a/linux/drm_bufs.h b/linux/drm_bufs.h
index 95858b80..c21ff748 100644
--- a/linux/drm_bufs.h
+++ b/linux/drm_bufs.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include <linux/vmalloc.h>
#include "drmP.h"
diff --git a/linux/drm_context.h b/linux/drm_context.h
index cf3a536a..7ab376f1 100644
--- a/linux/drm_context.h
+++ b/linux/drm_context.h
@@ -40,7 +40,6 @@
* needed by SiS driver's memory management.
*/
-#define __NO_VERSION__
#include "drmP.h"
#ifndef DRIVER_ALTERNATE_CONTEXT
diff --git a/linux/drm_dma.h b/linux/drm_dma.h
index cf8d8931..096a5e9e 100644
--- a/linux/drm_dma.h
+++ b/linux/drm_dma.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
diff --git a/linux/drm_drawable.h b/linux/drm_drawable.h
index 59c13ef8..5f1562b6 100644
--- a/linux/drm_drawable.h
+++ b/linux/drm_drawable.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
/** No-op. */
diff --git a/linux/drm_fops.h b/linux/drm_fops.h
index 4589231f..21935b7a 100644
--- a/linux/drm_fops.h
+++ b/linux/drm_fops.h
@@ -34,7 +34,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#include <linux/poll.h>
diff --git a/linux/drm_init.h b/linux/drm_init.h
index 509e6841..ae6ecbf9 100644
--- a/linux/drm_init.h
+++ b/linux/drm_init.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
/** Debug flags. Set by parse_option(). */
diff --git a/linux/drm_ioctl.h b/linux/drm_ioctl.h
index 049afe11..c3725668 100644
--- a/linux/drm_ioctl.h
+++ b/linux/drm_ioctl.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#include "linux/pci.h"
diff --git a/linux/drm_irq.h b/linux/drm_irq.h
index 73a62e68..6065b967 100644
--- a/linux/drm_irq.h
+++ b/linux/drm_irq.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#include <linux/interrupt.h> /* For task queue support */
diff --git a/linux/drm_lock.h b/linux/drm_lock.h
index f6b887b3..55fb29f3 100644
--- a/linux/drm_lock.h
+++ b/linux/drm_lock.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
/** No-op ioctl. */
diff --git a/linux/drm_memory.h b/linux/drm_memory.h
index c407292a..fe8141c9 100644
--- a/linux/drm_memory.h
+++ b/linux/drm_memory.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include <linux/config.h>
#include <linux/highmem.h>
#include "drmP.h"
diff --git a/linux/drm_memory_debug.h b/linux/drm_memory_debug.h
index 4f23918d..0053679a 100644
--- a/linux/drm_memory_debug.h
+++ b/linux/drm_memory_debug.h
@@ -31,7 +31,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include <linux/config.h>
#include "drmP.h"
diff --git a/linux/drm_os_linux.h b/linux/drm_os_linux.h
index 6d2d0710..5a7c162d 100644
--- a/linux/drm_os_linux.h
+++ b/linux/drm_os_linux.h
@@ -3,7 +3,6 @@
* OS abstraction macros.
*/
-#define __NO_VERSION__
#include <linux/interrupt.h> /* For task queue support */
#include <linux/delay.h>
diff --git a/linux/drm_pci.h b/linux/drm_pci.h
index 28b53385..b9d54c45 100644
--- a/linux/drm_pci.h
+++ b/linux/drm_pci.h
@@ -38,7 +38,6 @@
*/
-#define __NO_VERSION__
#include <linux/pci.h>
#include "drmP.h"
diff --git a/linux/drm_proc.h b/linux/drm_proc.h
index a9affc5a..7df63fbd 100644
--- a/linux/drm_proc.h
+++ b/linux/drm_proc.h
@@ -37,7 +37,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
static int DRM(name_info)(char *buf, char **start, off_t offset,
diff --git a/linux/drm_scatter.h b/linux/drm_scatter.h
index 89ac166a..3f0bc10c 100644
--- a/linux/drm_scatter.h
+++ b/linux/drm_scatter.h
@@ -31,7 +31,6 @@
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include <linux/config.h>
#include <linux/vmalloc.h>
#include "drmP.h"
diff --git a/linux/drm_stub.h b/linux/drm_stub.h
index b94e6a70..3d9ade35 100644
--- a/linux/drm_stub.h
+++ b/linux/drm_stub.h
@@ -31,7 +31,6 @@
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
#define DRM_STUB_MAXCARDS 16 /* Enough for one machine */
diff --git a/linux/drm_vm.h b/linux/drm_vm.h
index 9c444aff..ed5d53d2 100644
--- a/linux/drm_vm.h
+++ b/linux/drm_vm.h
@@ -33,7 +33,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "drmP.h"
diff --git a/linux/gamma_dma.c b/linux/gamma_dma.c
index fa3201b3..97b15996 100644
--- a/linux/gamma_dma.c
+++ b/linux/gamma_dma.c
@@ -29,7 +29,6 @@
*
*/
-#define __NO_VERSION__
#include "gamma.h"
#include "drmP.h"
#include "drm.h"
diff --git a/linux/gamma_lists.h b/linux/gamma_lists.h
index cfb07782..d42d7d3a 100644
--- a/linux/gamma_lists.h
+++ b/linux/gamma_lists.h
@@ -29,7 +29,6 @@
* Gareth Hughes <gareth@valinux.com>
*/
-#define __NO_VERSION__
#include "drmP.h"
diff --git a/linux/i810_dma.c b/linux/i810_dma.c
index 8ee32f74..51dddb3d 100644
--- a/linux/i810_dma.c
+++ b/linux/i810_dma.c
@@ -30,7 +30,6 @@
*
*/
-#define __NO_VERSION__
#include "i810.h"
#include "drmP.h"
#include "drm.h"
diff --git a/linux/i830_dma.c b/linux/i830_dma.c
index 8a110403..ac12b6dd 100644
--- a/linux/i830_dma.c
+++ b/linux/i830_dma.c
@@ -31,7 +31,6 @@
*
*/
-#define __NO_VERSION__
#include "i830.h"
#include "drmP.h"
#include "drm.h"
diff --git a/linux/i830_irq.c b/linux/i830_irq.c
index 0bb4ce8e..0f01d088 100644
--- a/linux/i830_irq.c
+++ b/linux/i830_irq.c
@@ -26,7 +26,6 @@
*
*/
-#define __NO_VERSION__
#include "i830.h"
#include "drmP.h"
#include "drm.h"
diff --git a/linux/savage_dma.c b/linux/savage_dma.c
index 271d1f23..b012e1ba 100644
--- a/linux/savage_dma.c
+++ b/linux/savage_dma.c
@@ -24,7 +24,6 @@
/*=========================================================*/
-#define __NO_VERSION__
#include "savage.h"
#include "drmP.h"
#include "savage_drv.h"
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index 91de65a7..4ff78247 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -7,7 +7,6 @@
*
**************************************************************************/
-#define __NO_VERSION__
#include "i915.h"
#include "drmP.h"
#include "drm.h"
diff --git a/shared-core/i915_irq.c b/shared-core/i915_irq.c
index 96c7e0f5..cd7cdfbd 100644
--- a/shared-core/i915_irq.c
+++ b/shared-core/i915_irq.c
@@ -7,7 +7,6 @@
*
**************************************************************************/
-#define __NO_VERSION__
#include "i915.h"
#include "drmP.h"
#include "drm.h"
diff --git a/shared-core/mach64_state.c b/shared-core/mach64_state.c
index eb3722cb..ef85ffd8 100644
--- a/shared-core/mach64_state.c
+++ b/shared-core/mach64_state.c
@@ -29,7 +29,6 @@
* José Fonseca <j_r_fonseca@yahoo.co.uk>
*/
-#define __NO_VERSION__
#include "mach64.h"
#include "drmP.h"
#include "drm.h"
diff --git a/shared-core/via_dma.c b/shared-core/via_dma.c
index 69e71bd8..0121f794 100644
--- a/shared-core/via_dma.c
+++ b/shared-core/via_dma.c
@@ -10,7 +10,6 @@
*
**************************************************************************/
-#define __NO_VERSION__
#include "via.h"
#include "drmP.h"
#include "drm.h"
diff --git a/shared-core/via_ds.c b/shared-core/via_ds.c
index 7fbd27aa..ca99a1ed 100644
--- a/shared-core/via_ds.c
+++ b/shared-core/via_ds.c
@@ -22,7 +22,6 @@
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/errno.h>
diff --git a/shared-core/via_map.c b/shared-core/via_map.c
index 02be344d..f08503d4 100644
--- a/shared-core/via_map.c
+++ b/shared-core/via_map.c
@@ -21,7 +21,6 @@
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "via.h"
#include "drmP.h"
#include "via_drv.h"
diff --git a/shared-core/via_mm.c b/shared-core/via_mm.c
index 117cca70..2a9be681 100644
--- a/shared-core/via_mm.c
+++ b/shared-core/via_mm.c
@@ -21,7 +21,6 @@
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "via.h"
#include "drmP.h"
#include "via_drm.h"
diff --git a/shared/i915_dma.c b/shared/i915_dma.c
index 91de65a7..4ff78247 100644
--- a/shared/i915_dma.c
+++ b/shared/i915_dma.c
@@ -7,7 +7,6 @@
*
**************************************************************************/
-#define __NO_VERSION__
#include "i915.h"
#include "drmP.h"
#include "drm.h"
diff --git a/shared/i915_irq.c b/shared/i915_irq.c
index 96c7e0f5..cd7cdfbd 100644
--- a/shared/i915_irq.c
+++ b/shared/i915_irq.c
@@ -7,7 +7,6 @@
*
**************************************************************************/
-#define __NO_VERSION__
#include "i915.h"
#include "drmP.h"
#include "drm.h"
diff --git a/shared/mach64_state.c b/shared/mach64_state.c
index eb3722cb..ef85ffd8 100644
--- a/shared/mach64_state.c
+++ b/shared/mach64_state.c
@@ -29,7 +29,6 @@
* José Fonseca <j_r_fonseca@yahoo.co.uk>
*/
-#define __NO_VERSION__
#include "mach64.h"
#include "drmP.h"
#include "drm.h"
diff --git a/shared/via_dma.c b/shared/via_dma.c
index 69e71bd8..0121f794 100644
--- a/shared/via_dma.c
+++ b/shared/via_dma.c
@@ -10,7 +10,6 @@
*
**************************************************************************/
-#define __NO_VERSION__
#include "via.h"
#include "drmP.h"
#include "drm.h"
diff --git a/shared/via_ds.c b/shared/via_ds.c
index 7fbd27aa..ca99a1ed 100644
--- a/shared/via_ds.c
+++ b/shared/via_ds.c
@@ -22,7 +22,6 @@
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/errno.h>
diff --git a/shared/via_map.c b/shared/via_map.c
index 02be344d..f08503d4 100644
--- a/shared/via_map.c
+++ b/shared/via_map.c
@@ -21,7 +21,6 @@
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "via.h"
#include "drmP.h"
#include "via_drv.h"
diff --git a/shared/via_mm.c b/shared/via_mm.c
index 117cca70..2a9be681 100644
--- a/shared/via_mm.c
+++ b/shared/via_mm.c
@@ -21,7 +21,6 @@
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#define __NO_VERSION__
#include "via.h"
#include "drmP.h"
#include "via_drm.h"