alistair23-linux/drivers/memory
YueHaibing 6cf238d4e2 memory: omap-gpmc: Fix -Wunused-function warnings
If CONFIG_OF is not set, make W=1 warns:

  drivers/memory/omap-gpmc.c:987:12: warning: ‘gpmc_cs_remap’ defined but not used [-Wunused-function]
  drivers/memory/omap-gpmc.c:926:20: warning: ‘gpmc_cs_get_name’ defined but not used [-Wunused-function]
  drivers/memory/omap-gpmc.c:919:13: warning: ‘gpmc_cs_set_name’ defined but not used [-Wunused-function]

Move them to #ifdef CONFIG_OF block to fix this.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Link: https://lore.kernel.org/r/20200901112832.3084-1-yuehaibing%40huawei.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2020-09-02 17:29:11 +02:00
..
samsung memory: samsung: exynos5422-dmc: add missing and fix kerneldoc 2020-09-01 20:37:48 +02:00
tegra memory: tegra: Remove GPU from DRM IOMMU group 2020-09-02 17:23:59 +02:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
atmel-ebi.c memory: atmel-ebi: switch to SPDX license identifiers 2019-11-07 22:33:10 +01:00
atmel-sdramc.c
brcmstb_dpfe.c memory: brcmstb_dpfe: Simplify with dev_err_probe() 2020-09-02 17:22:31 +02:00
bt1-l2-ctl.c memory: bt1-l2-ctl: Add blank lines after declarations 2020-07-27 11:13:33 +02:00
da8xx-ddrctl.c memory: da8xx-ddrctl: Remove unused 'node' variable 2020-07-24 16:18:32 +02:00
emif-asm-offsets.c memory: emif-asm-offsets: Add GPLv2 SPDX license header 2020-07-24 16:18:32 +02:00
emif.c memory: emif: Remove bogus debugfs error handling 2020-08-27 21:36:02 +02:00
emif.h
fsl-corenet-cf.c
fsl_ifc.c memory: fsl_ifc: Fix whitespace issues 2020-07-24 16:18:32 +02:00
jedec_ddr.h memory: Extend of_memory with LPDDR3 support 2019-10-01 20:28:38 +02:00
jedec_ddr_data.c
jz4780-nemc.c memory: jz4780_nemc: Only request IO memory the driver will use 2020-07-28 17:34:15 +02:00
Kconfig memory: Enable compile testing for most of the drivers 2020-08-17 21:15:32 +02:00
Makefile memory: brcmstb_dpfe: add separate entry for compile test 2020-08-17 20:44:00 +02:00
mtk-smi.c IOMMU Updates for Linux v5.9 2020-08-11 14:13:24 -07:00
mvebu-devbus.c memory: mvebu-devbus: Align with open parenthesis 2020-07-27 11:13:33 +02:00
of_memory.c memory: of: Correct kerneldoc 2020-07-27 11:13:33 +02:00
of_memory.h memory: of: Remove unneeded extern from function declarations 2020-07-24 16:18:32 +02:00
omap-gpmc.c memory: omap-gpmc: Fix -Wunused-function warnings 2020-09-02 17:29:11 +02:00
pl172.c memory: pl172: Enclose macro argument usage in parenthesis 2020-07-27 11:13:33 +02:00
pl353-smc.c
renesas-rpc-if.c memory: renesas-rpc-if: simplify with PTR_ERR_OR_ZERO 2020-08-17 20:43:50 +02:00
stm32-fmc2-ebi.c memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver 2020-07-07 20:58:17 +02:00
ti-aemif.c memory: ti-aemif: Rename SS to SSTROBE to avoid name conflicts 2020-07-24 16:18:32 +02:00
ti-emif-pm.c memory: ti-emif-pm: Fix cast to iomem pointer 2020-07-24 16:18:32 +02:00
ti-emif-sram-pm.S