cb710: handle DEBUG define in Makefile
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
This commit is contained in:
parent
10eb4f901c
commit
9bf69a26ad
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue