Commit 9bf69a26 authored by Pierre Ossman's avatar Pierre Ossman

cb710: handle DEBUG define in Makefile

Signed-off-by: default avatarPierre Ossman <pierre@ossman.eu>
parent 10eb4f90
ifeq ($(CONFIG_CB710_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
obj-$(CONFIG_CB710_CORE) += cb710.o obj-$(CONFIG_CB710_CORE) += cb710.o
cb710-y := core.o sgbuf2.o cb710-y := core.o sgbuf2.o
......
...@@ -10,10 +10,6 @@ ...@@ -10,10 +10,6 @@
#ifndef LINUX_CB710_DRIVER_H #ifndef LINUX_CB710_DRIVER_H
#define LINUX_CB710_DRIVER_H #define LINUX_CB710_DRIVER_H
#ifdef CONFIG_CB710_DEBUG
#define DEBUG
#endif
/* verify assumptions on platform_device framework */ /* verify assumptions on platform_device framework */
#define CONFIG_CB710_DEBUG_ASSUMPTIONS #define CONFIG_CB710_DEBUG_ASSUMPTIONS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment