w1: master: tegra: treat compile warning as error
schowdary [Tue, 24 Jul 2012 15:51:27 +0000 (20:51 +0530)]
- Add compilation flag to treat warning as error

bug 949219

Change-Id: Ifc6b454e3debf44c14720d2aa908147902d57b79
Signed-off-by: schowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/118087
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

drivers/w1/masters/Makefile

index 96499dc..1f05328 100644 (file)
@@ -11,4 +11,5 @@ obj-$(CONFIG_W1_MASTER_MXC)           += mxc_w1.o
 obj-$(CONFIG_W1_MASTER_DS1WM)          += ds1wm.o
 obj-$(CONFIG_W1_MASTER_GPIO)           += w1-gpio.o
 obj-$(CONFIG_HDQ_MASTER_OMAP)          += omap_hdq.o
+CFLAGS_tegra_w1.o                       = -Werror
 obj-$(CONFIG_W1_MASTER_TEGRA)          += tegra_w1.o