diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-09-10 07:32:08 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:23 -0400 |
commit | 78c46b85556ca1cf0fd15d504a309f9c508064e6 (patch) | |
tree | 47b5873f2c234aec905b3c0c5d95992b5fcf5e05 /drivers/gpu/nvgpu/gm20b/Makefile | |
parent | 9981cf44243e644e7ba3f01b66e08bea5b24979b (diff) |
gpu: nvgpu: gm20b: Fix build warnings
Fix build warnings by removing the unused variables, functions and
duplicated code.
Enable -Werror to prevent new build warnings.
Change-Id: Ifd73344a6e12497e6dca595ac7a6edd7ca698f88
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/497374
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/Makefile')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/Makefile b/drivers/gpu/nvgpu/gm20b/Makefile index 772f3997..154fdcd5 100644 --- a/drivers/gpu/nvgpu/gm20b/Makefile +++ b/drivers/gpu/nvgpu/gm20b/Makefile | |||
@@ -1,6 +1,7 @@ | |||
1 | GCOV_PROFILE := y | 1 | GCOV_PROFILE := y |
2 | ccflags-y += -Idrivers/gpu/nvgpu | 2 | ccflags-y += -Idrivers/gpu/nvgpu |
3 | ccflags-y += -Wno-multichar | 3 | ccflags-y += -Wno-multichar |
4 | ccflags-y += -Werror | ||
4 | 5 | ||
5 | obj-$(CONFIG_GK20A) = \ | 6 | obj-$(CONFIG_GK20A) = \ |
6 | hal_gm20b.o \ | 7 | hal_gm20b.o \ |