summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-24 23:17:32 +0400
committerGrant Likely <grant.likely@secretlab.ca>2010-10-13 07:37:37 +0400
commitfadcf49b9bd7ec5fb69befbf477e747d5b6a0328 (patch)
tree3c5ac45f410e0e0046b05e814781aabf956a00a8 /drivers/spi
parentb1b6b9aa6fd32db97469e65d301ebc32dcd67992 (diff)
downloadlinux-fadcf49b9bd7ec5fb69befbf477e747d5b6a0328.tar.xz
spi: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 65a232d50bc8..f32d11e1ffec 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