diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/vt6655/Makefile | 2 | ||||
-rw-r--r-- | drivers/staging/vt6655/device.h | 6 | ||||
-rw-r--r-- | drivers/staging/vt6656/Makefile | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/device.h | 6 |
4 files changed, 2 insertions, 14 deletions
diff --git a/drivers/staging/vt6655/Makefile b/drivers/staging/vt6655/Makefile index 4bc4a764c877..931deb109ee8 100644 --- a/drivers/staging/vt6655/Makefile +++ b/drivers/staging/vt6655/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # TODO: all of these should be removed | 1 | # TODO: all of these should be removed |
2 | EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -DMODULE -D__NO_VERSION__ | 2 | EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -D__NO_VERSION__ |
3 | EXTRA_CFLAGS += -DHOSTAP | 3 | EXTRA_CFLAGS += -DHOSTAP |
4 | 4 | ||
5 | vt6655_stage-y += device_main.o \ | 5 | vt6655_stage-y += device_main.o \ |
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 54869c9ce756..fa7f0fcad33b 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h | |||
@@ -29,13 +29,7 @@ | |||
29 | #ifndef __DEVICE_H__ | 29 | #ifndef __DEVICE_H__ |
30 | #define __DEVICE_H__ | 30 | #define __DEVICE_H__ |
31 | 31 | ||
32 | #ifdef MODULE | ||
33 | #ifdef MODVERSIONS | ||
34 | #include <linux/modversions.h> | ||
35 | #endif /* MODVERSIONS */ | ||
36 | #include <linux/module.h> | 32 | #include <linux/module.h> |
37 | #endif /* MODULE */ | ||
38 | |||
39 | #include <linux/types.h> | 33 | #include <linux/types.h> |
40 | #include <linux/init.h> | 34 | #include <linux/init.h> |
41 | #include <linux/mm.h> | 35 | #include <linux/mm.h> |
diff --git a/drivers/staging/vt6656/Makefile b/drivers/staging/vt6656/Makefile index 7fd5a55fd46b..582a3519796d 100644 --- a/drivers/staging/vt6656/Makefile +++ b/drivers/staging/vt6656/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # TODO: all of these should be removed | 1 | # TODO: all of these should be removed |
2 | EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ | 2 | EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -DEXPORT_SYMTAB -D__NO_VERSION__ |
3 | EXTRA_CFLAGS += -DHOSTAP | 3 | EXTRA_CFLAGS += -DHOSTAP |
4 | 4 | ||
5 | vt6656_stage-y += main_usb.o \ | 5 | vt6656_stage-y += main_usb.o \ |
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 33df6e5400e8..b02ca2d66fee 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h | |||
@@ -29,13 +29,7 @@ | |||
29 | #ifndef __DEVICE_H__ | 29 | #ifndef __DEVICE_H__ |
30 | #define __DEVICE_H__ | 30 | #define __DEVICE_H__ |
31 | 31 | ||
32 | #ifdef MODULE | ||
33 | #ifdef MODVERSIONS | ||
34 | #include <linux/modversions.h> | ||
35 | #endif /* MODVERSIONS */ | ||
36 | #include <linux/module.h> | 32 | #include <linux/module.h> |
37 | #endif /* MODULE */ | ||
38 | |||
39 | #include <linux/types.h> | 33 | #include <linux/types.h> |
40 | #include <linux/init.h> | 34 | #include <linux/init.h> |
41 | #include <linux/mm.h> | 35 | #include <linux/mm.h> |