linux/drivers/memory/tegra
Nathan Huckleberry 76ce48bdb3 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>
2019-06-14 18:02:02 +02:00
..
Kconfig memory: tegra: Introduce Tegra20 EMC driver 2018-11-08 12:50:34 +01:00
Makefile memory: tegra: Introduce Tegra20 EMC driver 2018-11-08 12:50:34 +01:00
mc.c memory: tegra: Replace readl-writel with mc_readl-mc_writel 2019-04-18 11:36:10 +02:00
mc.h memory: tegra: Properly spell "tegra" 2019-04-11 17:58:41 +02:00
tegra20-emc.c memory: tegra: Introduce Tegra20 EMC driver 2018-11-08 12:50:34 +01:00
tegra20.c memory: tegra: Properly spell "tegra" 2019-04-11 17:58:41 +02:00
tegra30.c memory: tegra: Fix a typos for "fdcdwr2" mc client 2019-04-18 11:51:17 +02:00
tegra114.c memory: tegra: Fix a typos for "fdcdwr2" mc client 2019-04-18 11:51:17 +02:00
tegra124-emc.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
tegra124.c memory: tegra: Fix -Wunused-const-variable 2019-06-14 18:02:02 +02:00
tegra186.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
tegra210.c memory: tegra: Properly spell "tegra" 2019-04-11 17:58:41 +02:00