net: caif: tegra: enable warnings as errors flag
Deepak Nibade [Tue, 24 Jul 2012 13:18:31 +0000 (18:18 +0530)]
-enable warnings as errors compilation flag

bug 949219

Change-Id: Ifeaba174d59c437e0068324b73dffd287f90c957
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/118041
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>

drivers/net/caif/Makefile

index f307525..5f85fe7 100644 (file)
@@ -15,5 +15,6 @@ obj-$(CONFIG_CAIF_SHM) += caif_shm.o
 obj-$(CONFIG_CAIF_HSI) += caif_hsi.o
 
 # Tegra specific SPI slave physical interfaces module
+CFLAGS_tegra_caif_sspi.o       = -Werror
 tegra_cfspi_slave-objs := tegra_caif_sspi.o
 obj-$(CONFIG_TEGRA_SPI_CAIF) += tegra_cfspi_slave.o