diff mbox

[RESEND,15/27] hwmon: change to new flag variable

Message ID a6d2dc99cb27e76cdb4f1f4440f8cc5f4cf19f94.1295006565.git.mfm@muteddisk.com (mailing list archive)
State New, archived
Headers show

Commit Message

matt mooney Jan. 14, 2011, 2:12 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile
index dde02d9..974f9cc 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