spi: tegra: enable warning as error flag
[linux-2.6.git] / drivers / spi / Makefile
index 430f820..831e6ea 100644 (file)
@@ -53,7 +53,9 @@ obj-$(CONFIG_SPI_SH)                  += spi-sh.o
 obj-$(CONFIG_SPI_SH_MSIOF)             += spi-sh-msiof.o
 obj-$(CONFIG_SPI_SH_SCI)               += spi-sh-sci.o
 obj-$(CONFIG_SPI_STMP3XXX)             += spi-stmp.o
+CFLAGS_spi-tegra.o                     = -Werror
 obj-$(CONFIG_SPI_TEGRA)                        += spi-tegra.o
+CFLAGS_spi_slave_tegra.o               = -Werror
 obj-$(CONFIG_SPI_SLAVE_TEGRA)          += spi_slave_tegra.o
 obj-$(CONFIG_SPI_TI_SSP)               += spi-ti-ssp.o
 obj-$(CONFIG_SPI_TLE62X0)              += spi-tle62x0.o