aboutsummaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorNathan Huckleberry2019-06-13 11:26:10 -0700
committerThierry Reding2019-06-14 18:02:02 +0200
commit76ce48bdb303afa6e33cfbadca9d6bee23a4f559 (patch)
treeac791966328d83abdcdb9c11366d49b689249d6f /drivers/soc
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
memory: tegra: Fix -Wunused-const-variable
Clang produces the following warning drivers/memory/tegra/tegra124.c:36:28: warning: unused variable 'tegra124_mc_emem_regs' [-Wunused-const-variable] static const unsigned long tegra124_mc_emem_regs[] = { ^ The only usage of this variable is from within an ifdef. It seems logical to move the variable into the ifdef as well. Cc: clang-built-linux@googlegroups.com Link: https://github.com/ClangBuiltLinux/linux/issues/526 Signed-off-by: Nathan Huckleberry <nhuck@google.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions