]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/rtc/Makefile
hwmon: Fix debug messages in w83781d
[linux-2.6-omap-h63xx.git] / drivers / rtc / Makefile
index e72d467ab2143b771711c688933efda888306629..3ba5ff6e68004700162f2e05c75fe02e438ff0b9 100644 (file)
@@ -2,6 +2,10 @@
 # Makefile for RTC class/drivers.
 #
 
+ifeq ($(CONFIG_RTC_DEBUG),y)
+       EXTRA_CFLAGS            += -DDEBUG
+endif
+
 obj-$(CONFIG_RTC_LIB)          += rtc-lib.o
 obj-$(CONFIG_RTC_HCTOSYS)      += hctosys.o
 obj-$(CONFIG_RTC_CLASS)                += rtc-core.o