spi: tegra: enable warning as error flag
authorDeepak Nibade <dnibade@nvidia.com>
Wed, 25 Jul 2012 05:12:21 +0000 (10:12 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 31 Jul 2012 03:46:48 +0000 (20:46 -0700)
commitc6f718ec7dea294d4cbad7b20e45da9692410601
tree86c2b2be48f7f7dff07568233f04cc07919e0100
parent074b6813735ca8bead4c91720a37a3c8aed6766f
spi: tegra: enable warning as error flag

-enable warnings as errors compilation flag
-handle error of uninitialised variable

bug 949219

Change-Id: I9e754b1cbf086f99433d47aef793a8635185a25e
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/118239
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>
Tested-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/spi/Makefile
drivers/spi/spi_slave_tegra.c