aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <pierre@ossman.eu>2009-06-04 02:00:40 -0400
committerPierre Ossman <pierre@ossman.eu>2009-06-13 16:42:58 -0400
commit9bf69a26ad9ccdc49469402275204271b3336ab6 (patch)
tree29f8da6bf2d6b2f4ec0b4f0e65be44773a7aafa5
parent10eb4f901cacf7da87145330f3ca77b723783497 (diff)
cb710: handle DEBUG define in Makefile
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
-rw-r--r--drivers/misc/cb710/Makefile4
-rw-r--r--include/linux/cb710.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/cb710/Makefile b/drivers/misc/cb710/Makefile
index 62d51acfecaf..7b80cbf1a609 100644
--- a/drivers/misc/cb710/Makefile
+++ b/drivers/misc/cb710/Makefile
@@ -1,3 +1,7 @@
1ifeq ($(CONFIG_CB710_DEBUG),y)
2 EXTRA_CFLAGS += -DDEBUG
3endif
4
1obj-$(CONFIG_CB710_CORE) += cb710.o 5obj-$(CONFIG_CB710_CORE) += cb710.o
2 6
3cb710-y := core.o sgbuf2.o 7cb710-y := core.o sgbuf2.o
diff --git a/include/linux/cb710.h b/include/linux/cb710.h
index c3819e1ce1c6..a09213b52616 100644
--- a/include/linux/cb710.h
+++ b/include/linux/cb710.h
@@ -10,10 +10,6 @@
10#ifndef LINUX_CB710_DRIVER_H 10#ifndef LINUX_CB710_DRIVER_H
11#define LINUX_CB710_DRIVER_H 11#define LINUX_CB710_DRIVER_H
12 12
13#ifdef CONFIG_CB710_DEBUG
14#define DEBUG
15#endif
16
17/* verify assumptions on platform_device framework */ 13/* verify assumptions on platform_device framework */
18#define CONFIG_CB710_DEBUG_ASSUMPTIONS 14#define CONFIG_CB710_DEBUG_ASSUMPTIONS
19 15