aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2009-06-13 06:37:59 -0400
committerPierre Ossman <pierre@ossman.eu>2009-06-13 16:42:59 -0400
commitc54f6bc67a4398243682f7438a2129906e127d21 (patch)
treeb3c128c917d6325a067caf8758bfd334a0b2e44b
parenta3456a2da14fb1d8246df63bb229623d58d09ce1 (diff)
cb710: more cleanup for the DEBUG case.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Pierre Ossman <pierre@ossman.eu>
-rw-r--r--drivers/misc/cb710/Kconfig4
-rw-r--r--drivers/mmc/host/Makefile3
-rw-r--r--include/linux/cb710.h3
3 files changed, 7 insertions, 3 deletions
diff --git a/drivers/misc/cb710/Kconfig b/drivers/misc/cb710/Kconfig
index 0b55079774c8..22429b8b1068 100644
--- a/drivers/misc/cb710/Kconfig
+++ b/drivers/misc/cb710/Kconfig
@@ -19,3 +19,7 @@ config CB710_DEBUG
19 This is an option for use by developers; most people should 19 This is an option for use by developers; most people should
20 say N here. This adds a lot of debugging output to dmesg. 20 say N here. This adds a lot of debugging output to dmesg.
21 21
22config CB710_DEBUG_ASSUMPTIONS
23 bool
24 depends on CB710_CORE != n
25 default y
diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
index 254e441291d0..79da397c5fea 100644
--- a/drivers/mmc/host/Makefile
+++ b/drivers/mmc/host/Makefile
@@ -32,3 +32,6 @@ obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o
32obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o 32obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o
33obj-$(CONFIG_MMC_CB710) += cb710-mmc.o 33obj-$(CONFIG_MMC_CB710) += cb710-mmc.o
34 34
35ifeq ($(CONFIG_CB710_DEBUG),y)
36 CFLAGS-cb710-mmc += -DDEBUG
37endif
diff --git a/include/linux/cb710.h b/include/linux/cb710.h
index a09213b52616..63bc9a4d2926 100644
--- a/include/linux/cb710.h
+++ b/include/linux/cb710.h
@@ -10,9 +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/* verify assumptions on platform_device framework */
14#define CONFIG_CB710_DEBUG_ASSUMPTIONS
15
16#include <linux/io.h> 13#include <linux/io.h>
17#include <linux/interrupt.h> 14#include <linux/interrupt.h>
18#include <linux/spinlock.h> 15#include <linux/spinlock.h>