hwmon: change to new flag variable
authormatt mooney <mfm@muteddisk.com>
Fri, 14 Jan 2011 14:12:38 +0000 (06:12 -0800)
committerMichal Marek <mmarek@suse.cz>
Thu, 17 Mar 2011 13:05:33 +0000 (14:05 +0100)
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>
drivers/hwmon/Makefile

index dde02d99c2386aa81c4a96351e5dc7316d75d419..974f9cc766b210c71594d56ecff7fbe10538ea98 100644 (file)
@@ -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