diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-09-01 13:28:32 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-02 17:29:11 +0200 |
commit | 6cf238d4e21bc21bc18d126358dd617b2c991d66 (patch) | |
tree | 2aece7903c696e04a680abc4400ec111ef93a92c /certs | |
parent | memory: tegra: Remove GPU from DRM IOMMU group (diff) | |
download | linux-6cf238d4e21bc21bc18d126358dd617b2c991d66.tar.xz linux-6cf238d4e21bc21bc18d126358dd617b2c991d66.zip |
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>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions