Staging: vt665x: fix built-in compiling
PATCH 1/1 Staging: vt665x: fix built-in compiling
Fix this build error:
undefined reference to "__this_module"
Signed-off-by Alexander Beregalov <[email protected]>
--- drivers/staging/vt6655/Makefile | 2 +- drivers/staging/vt6655/device.h | 6 ------ drivers/staging/vt6656/Makefile | 2 +- drivers/staging/vt6656/device.h | 6 ------ 4 files changed, 2 insertions(+), 14 deletions(-)
drivers/staging/vt6655/Makefile +1 -1
@@ -1,5 +1,5 @@ # TODO: all of these should be removed -EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -DMODULE -D__NO_VERSION__ +EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -D__NO_VERSION__ EXTRA_CFLAGS += -DHOSTAP vt6655-y += device_main.o \
drivers/staging/vt6655/device.h +0 -6
@@ -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>
drivers/staging/vt6656/Makefile +1 -1
@@ -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-y += main_usb.o \
drivers/staging/vt6656/device.h +0 -6
@@ -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>
Signature · 1 line
1.6.4.1