summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-01-14 15:12:38 +0100
committerMichal Marek <mmarek@suse.cz>2011-03-17 14:05:33 +0100
commit5c39e31195f49f6725f04b22921eca2388a3f909 (patch)
tree5d655d5a7c58f7e0d6db08dfb6fc8fa531360951 /drivers
parentdma: change to new flag variable (diff)
downloadlinux-5c39e31195f49f6725f04b22921eca2388a3f909.tar.xz
linux-5c39e31195f49f6725f04b22921eca2388a3f909.zip
hwmon: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hwmon/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile
index dde02d99c238..974f9cc766b2 100644
--- a/drivers/hwmon/Makefile
+++ b/drivers/hwmon/Makefile
@@ -112,7 +112,5 @@ obj-$(CONFIG_SENSORS_W83L786NG) += w83l786ng.o
obj-$(CONFIG_SENSORS_WM831X) += wm831x-hwmon.o
obj-$(CONFIG_SENSORS_WM8350) += wm8350-hwmon.o
-ifeq ($(CONFIG_HWMON_DEBUG_CHIP),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG