summaryrefslogtreecommitdiffstats
path: root/drivers/memstick/core
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-01-14 06:12:42 -0800
committerMichal Marek <mmarek@suse.cz>2011-03-17 14:05:34 +0100
commit41d9c644fc4dd5fa399682c0f8d0d1f79b77a199 (patch)
tree45ce8fc5f1db2948c6fa94c7f9ca006a7ba55811 /drivers/memstick/core
parentf656c25b71b986b98dce2f8d268524f792b7e43f (diff)
downloadblackbird-op-linux-41d9c644fc4dd5fa399682c0f8d0d1f79b77a199.tar.gz
blackbird-op-linux-41d9c644fc4dd5fa399682c0f8d0d1f79b77a199.zip
memstick: change to new flag variable
The EXTRA_CFLAGS assignment in memstick/Makefile was not accomplishing anything because this flag only has effect on sources at the same level as the makefile (i.e., per directory). Since both core/ and host/ rely on MEMSTICK_DEBUG, the subdir-ccflags-y variant seems to be the appropriate choice. Signed-off-by: matt mooney <mfm@muteddisk.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'drivers/memstick/core')
-rw-r--r--drivers/memstick/core/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/memstick/core/Makefile b/drivers/memstick/core/Makefile
index 8b2b5293877e..ecd029937738 100644
--- a/drivers/memstick/core/Makefile
+++ b/drivers/memstick/core/Makefile
@@ -2,10 +2,6 @@
# Makefile for the kernel MemoryStick core.
#
-ifeq ($(CONFIG_MEMSTICK_DEBUG),y)
- EXTRA_CFLAGS += -DDEBUG
-endif
-
obj-$(CONFIG_MEMSTICK) += memstick.o
obj-$(CONFIG_MSPRO_BLOCK) += mspro_block.o
OpenPOWER on IntegriCloud