summaryrefslogtreecommitdiff
path: root/drivers/i2c/muxes/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-10-24 18:16:58 +0200
committerJean Delvare <khali@endymion.delvare>2010-10-24 18:16:58 +0200
commitef9d9b8fb696850a95cd59ba2cd67991b6f722b3 (patch)
tree813b18e2e022b572eed8e0d1fe91ee9001476dc1 /drivers/i2c/muxes/Makefile
parenta8d7be818fbe0f8a4e7dc251712958ca369f9d45 (diff)
i2c: Change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/muxes/Makefile')
-rw-r--r--drivers/i2c/muxes/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/muxes/Makefile b/drivers/i2c/muxes/Makefile
index bd83b5274815..6f497862bdc5 100644
--- a/drivers/i2c/muxes/Makefile
+++ b/drivers/i2c/muxes/Makefile
@@ -3,6 +3,4 @@
obj-$(CONFIG_I2C_MUX_PCA954x) += pca954x.o
-ifeq ($(CONFIG_I2C_DEBUG_BUS),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG