cb710: handle DEBUG define in Makefile

Signed-off-by: Pierre Ossman <pierre@ossman.eu>
This commit is contained in:
Pierre Ossman 2009-06-04 08:00:40 +02:00
parent 10eb4f901c
commit 9bf69a26ad
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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