char: agp: treat compile warning as error
schowdary [Tue, 24 Jul 2012 12:04:46 +0000 (17:04 +0530)]
-enable warnings as errors compilation flag

bug 949219

Change-Id: I47e2df835985f341ebccdad95f53b4e6f7763e39
Signed-off-by: schowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/118017
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

drivers/char/agp/Makefile

index 8eb56e2..2d3b713 100644 (file)
@@ -14,6 +14,7 @@ obj-$(CONFIG_AGP_PARISC)      += parisc-agp.o
 obj-$(CONFIG_AGP_I460)         += i460-agp.o
 obj-$(CONFIG_AGP_INTEL)                += intel-agp.o
 obj-$(CONFIG_AGP_INTEL)                += intel-gtt.o
+CFLAGS_nvidia-agp.o             = -Werror
 obj-$(CONFIG_AGP_NVIDIA)       += nvidia-agp.o
 obj-$(CONFIG_AGP_SGI_TIOCA)    += sgi-agp.o
 obj-$(CONFIG_AGP_SIS)          += sis-agp.o