rtc/tegra: treat compilation warning as error
schowdary [Wed, 25 Jul 2012 07:00:01 +0000 (12:00 +0530)]
- Add compilation flag to treat warning as error

bug 949219

Change-Id: Ic52b13519b817ab3861bd56692ec6b6da60edc48
Signed-off-by: schowdary <schowdary@nvidia.com>

Rebase-Id: R089555b1926e96a54841cbe900463692be171e5c

drivers/rtc/Makefile

index 7cf9d56..ff72beb 100644 (file)
@@ -116,6 +116,7 @@ obj-$(CONFIG_RTC_DRV_STARFIRE)      += rtc-starfire.o
 obj-$(CONFIG_RTC_DRV_STK17TA8) += rtc-stk17ta8.o
 obj-$(CONFIG_RTC_DRV_STMP)     += rtc-stmp3xxx.o
 obj-$(CONFIG_RTC_DRV_SUN4V)    += rtc-sun4v.o
+CFLAGS_rtc-tegra.o               = -Werror
 obj-$(CONFIG_RTC_DRV_TEGRA)    += rtc-tegra.o
 obj-$(CONFIG_RTC_DRV_TEST)     += rtc-test.o
 obj-$(CONFIG_RTC_DRV_TILE)     += rtc-tile.o