diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2009-09-03 20:38:14 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:02:34 -0700 |
commit | 14386fd10c33b6a6a53901a64832f34f038857cf (patch) | |
tree | db235078b3c0b410e2d618d8eb574ad30029d1c4 /drivers/staging/vt6656 | |
parent | 48118b53c6ba0c48440ba552cd7b82c9a9cf530d (diff) | |
download | talos-obmc-linux-14386fd10c33b6a6a53901a64832f34f038857cf.tar.gz talos-obmc-linux-14386fd10c33b6a6a53901a64832f34f038857cf.zip |
Staging: vt665x: fix built-in compiling
Fix this build error:
undefined reference to "__this_module"
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r-- | drivers/staging/vt6656/Makefile | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/device.h | 6 |
2 files changed, 1 insertions, 7 deletions
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 @@ # TODO: all of these should be removed -EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ +EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -DEXPORT_SYMTAB -D__NO_VERSION__ EXTRA_CFLAGS += -DHOSTAP 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 @@ #ifndef __DEVICE_H__ #define __DEVICE_H__ -#ifdef MODULE -#ifdef MODVERSIONS -#include <linux/modversions.h> -#endif /* MODVERSIONS */ #include <linux/module.h> -#endif /* MODULE */ - #include <linux/types.h> #include <linux/init.h> #include <linux/mm.h> |