staging: iio: light: enable warning as error flag
Sri Krishna chowdary [Fri, 19 Apr 2013 09:06:03 +0000 (14:06 +0530)]
Enable warnings as errors compilation flag

Bug 1274533

Change-Id: I8dccfa363d626b6f90d29659db43a2c261f57114
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/220972
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit

drivers/staging/iio/light/Makefile

index 370f58a..997a886 100644 (file)
@@ -3,6 +3,8 @@
 #
 GCOV_PROFILE := y
 
+ccflags-y := -Werror
+
 obj-$(CONFIG_SENSORS_CM3218)   += cm3218.o
 obj-$(CONFIG_SENSORS_ISL29018) += isl29018.o
 obj-$(CONFIG_SENSORS_ISL29028) += isl29028.o