Skip to content

Commit

Permalink
cb710: more cleanup for the DEBUG case.
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
  • Loading branch information
Michał Mirosław authored and Pierre Ossman committed Jun 13, 2009
1 parent a3456a2 commit c54f6bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions drivers/misc/cb710/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ config CB710_DEBUG
This is an option for use by developers; most people should
say N here. This adds a lot of debugging output to dmesg.

config CB710_DEBUG_ASSUMPTIONS
bool
depends on CB710_CORE != n
default y
3 changes: 3 additions & 0 deletions drivers/mmc/host/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o
obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o
obj-$(CONFIG_MMC_CB710) += cb710-mmc.o

ifeq ($(CONFIG_CB710_DEBUG),y)
CFLAGS-cb710-mmc += -DDEBUG
endif
3 changes: 0 additions & 3 deletions include/linux/cb710.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
#ifndef LINUX_CB710_DRIVER_H
#define LINUX_CB710_DRIVER_H

/* verify assumptions on platform_device framework */
#define CONFIG_CB710_DEBUG_ASSUMPTIONS

#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
Expand Down

0 comments on commit c54f6bc

Please sign in to comment.