Skip to content

Commit

Permalink
cb710: handle DEBUG define in Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
  • Loading branch information
Pierre Ossman committed Jun 13, 2009
1 parent 10eb4f9 commit 9bf69a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions drivers/misc/cb710/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 0 additions & 4 deletions include/linux/cb710.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9bf69a2

Please sign in to comment.