diff mbox

[22/24] spi: change to new flag variable

Message ID 58b418c2e7311bffb13606a6b94e33ddb7569346.1285355033.git.mfm@muteddisk.com (mailing list archive)
State Accepted
Headers show

Commit Message

matt mooney Sept. 24, 2010, 7:17 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index e9cbd18..66c0c47 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -2,9 +2,7 @@ 
 # Makefile for kernel SPI drivers.
 #
 
-ifeq ($(CONFIG_SPI_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG
 
 # small core, mostly translating board-specific
 # config declarations into driver model code