summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile
diff options
context:
space:
mode:
authorSri Krishna chowdary <schowdary@nvidia.com>2016-05-24 01:32:46 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-05-24 13:52:56 -0400
commite82c840119503ec519eddacb4aa377660d67a3ab (patch)
tree673142873b5ceab930f34ddde112173d7a63b786 /drivers/gpu/nvgpu/Makefile
parentd16da3baec15b470c6cb1e1c58eadea60b8ffe83 (diff)
gpu: nvgpu: fix compilation issues
compiling kernel with clang pointed out below issues in nvgpu. Fixing them. gr_gk20a.c:1185:12: error: stack frame size of 3152 bytes in function 'gr_gk20a_setup_alpha_beta_tables' cde_gk20a.c:1376:22: error: duplicate 'const' declaration cde_gk20a.c:1377:22: error: duplicate 'const' declaration cde_gk20a.c:1378:22: error: duplicate 'const' declaration ctxsw_trace_gk20a.c:71:19: error: unused function 'ring_space' platform_gk20a_tegra.c:55:19: error: unused function 'pmc_read' platform_gk20a_tegra.c:60:20: error: unused function 'pmc_write' bug 1745660 Change-Id: I8cd4383cb898307bbeb162ca00b3e20d04de2c90 Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/1150486 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile')
-rw-r--r--drivers/gpu/nvgpu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile
index e140589a..7a439c10 100644
--- a/drivers/gpu/nvgpu/Makefile
+++ b/drivers/gpu/nvgpu/Makefile
@@ -8,6 +8,7 @@ ccflags-y += -I../kernel-nvgpu/include/uapi
8ccflags-y += -Wno-multichar 8ccflags-y += -Wno-multichar
9ccflags-y += -Werror 9ccflags-y += -Werror
10ccflags-y += -Wno-error=cpp 10ccflags-y += -Wno-error=cpp
11ccflags-y += -Wno-duplicate-decl-specifier
11 12
12ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) 13ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y)
13ccflags-y += -I$(srctree)/../kernel-nvgpu-t18x/drivers/gpu/nvgpu 14ccflags-y += -I$(srctree)/../kernel-nvgpu-t18x/drivers/gpu/nvgpu