diff options
| author | Pierre Ossman <pierre@ossman.eu> | 2009-06-04 08:00:40 +0200 | 
|---|---|---|
| committer | Pierre Ossman <pierre@ossman.eu> | 2009-06-13 22:42:58 +0200 | 
| commit | 9bf69a26ad9ccdc49469402275204271b3336ab6 (patch) | |
| tree | 29f8da6bf2d6b2f4ec0b4f0e65be44773a7aafa5 | |
| parent | 10eb4f901cacf7da87145330f3ca77b723783497 (diff) | |
| download | olio-linux-3.10-9bf69a26ad9ccdc49469402275204271b3336ab6.tar.xz olio-linux-3.10-9bf69a26ad9ccdc49469402275204271b3336ab6.zip  | |
cb710: handle DEBUG define in Makefile
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
| -rw-r--r-- | drivers/misc/cb710/Makefile | 4 | ||||
| -rw-r--r-- | include/linux/cb710.h | 4 | 
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/cb710/Makefile b/drivers/misc/cb710/Makefile index 62d51acfeca..7b80cbf1a60 100644 --- a/drivers/misc/cb710/Makefile +++ b/drivers/misc/cb710/Makefile @@ -1,3 +1,7 @@ +ifeq ($(CONFIG_CB710_DEBUG),y) +	EXTRA_CFLAGS		+= -DDEBUG +endif +  obj-$(CONFIG_CB710_CORE)	+= cb710.o  cb710-y				:= core.o sgbuf2.o diff --git a/include/linux/cb710.h b/include/linux/cb710.h index c3819e1ce1c..a09213b5261 100644 --- a/include/linux/cb710.h +++ b/include/linux/cb710.h @@ -10,10 +10,6 @@  #ifndef LINUX_CB710_DRIVER_H  #define LINUX_CB710_DRIVER_H -#ifdef CONFIG_CB710_DEBUG -#define DEBUG -#endif -  /* verify assumptions on platform_device framework */  #define CONFIG_CB710_DEBUG_ASSUMPTIONS  |