misc: tegra: treat compilation warning as error
schowdary [Tue, 24 Jul 2012 15:24:36 +0000 (20:24 +0530)]
- Add compilation flag to treat warning as error

bug 949219

Change-Id: Ib5f433fc2ef9cf3777c34eda91b1eff8e815bcb9
Signed-off-by: schowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/118073
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

drivers/misc/tegra-cec/Makefile

index ab38030..8bac2a5 100644 (file)
@@ -2,4 +2,6 @@
 # Makefile for tegra cec support.
 #
 
+subdir-ccflags-y       = -Werror
+
 obj-$(CONFIG_TEGRA_CEC_T30)    += tegra_cec.o