twx-linux/drivers/memory
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
..
samsung memory: Convert to using %pOFn instead of device_node.name 2018-11-27 10:54:39 -06:00
tegra memory: tegra: Fix -Wunused-const-variable 2019-06-14 18:02:02 +02:00
atmel-ebi.c memory: atmel-ebi: add sam9x60 EBI support 2019-03-21 16:45:04 +01:00
atmel-sdramc.c memory: atmel-sdramc: use builtin_platform_driver to simplify the code 2016-10-20 11:59:57 +02:00
brcmstb_dpfe.c memory: brcmstb: dpfe: Remove need for dpfe_dev 2018-05-09 12:15:26 -07:00
da8xx-ddrctl.c memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name() 2016-11-23 20:26:42 +05:30
emif-asm-offsets.c ARM: OMAP2+: Fix build when using split object directories 2018-04-18 10:07:13 -07:00
emif.c memory-EMIF: Use seq_putc() in emif_regdump_show() 2018-03-05 16:21:26 -08:00
emif.h memory: ti-emif-sram: Add ti_emif_run_hw_leveling for DDR3 hardware leveling 2019-04-09 08:31:51 -07:00
fsl_ifc.c memory: Update dependency of IFC for Layerscape 2016-07-13 17:31:10 -07:00
fsl-corenet-cf.c memory: fsl-corenet: Fix module autoload for OF platform driver 2015-10-05 04:44:11 +01:00
jz4780-nemc.c memory: Convert to using %pOF instead of full_name 2017-08-16 21:37:00 +02:00
Kconfig memory: pl353: Add driver for arm pl353 static memory controller 2018-12-13 16:07:04 +01:00
Makefile memory: squash drivers/memory/Makefile.asm-offsets 2019-04-08 21:03:34 +09:00
mtk-smi.c memory: mtk-smi: Degrade SMI init to module_init 2017-08-22 16:38:00 +02:00
mvebu-devbus.c memory: Convert to using %pOF instead of full_name 2017-08-16 21:37:00 +02:00
of_memory.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
of_memory.h
omap-gpmc.c ARM: SoC driver updates 2018-12-31 17:32:35 -08:00
pl172.c memory: pl172: add ARM PrimeCell PL176 MPMC support 2015-09-29 22:19:02 +02:00
pl353-smc.c memory: pl353: Add driver for arm pl353 static memory controller 2018-12-13 16:07:04 +01:00
ti-aemif.c memory: ti-aemif: fix a potential NULL-pointer dereference 2018-09-06 10:04:07 -07:00
ti-emif-pm.c memory: ti-emif-sram: Add ti_emif_run_hw_leveling for DDR3 hardware leveling 2019-04-09 08:31:51 -07:00
ti-emif-sram-pm.S memory: ti-emif-sram: Add ti_emif_run_hw_leveling for DDR3 hardware leveling 2019-04-09 08:31:51 -07:00