diff options
| author | YueHaibing <[email protected]> | 2020-09-01 19:28:32 +0800 | 
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2020-09-02 17:29:11 +0200 | 
| commit | 6cf238d4e21bc21bc18d126358dd617b2c991d66 (patch) | |
| tree | 2aece7903c696e04a680abc4400ec111ef93a92c /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | ea90f66f2a8629dde07328df0b8314aae5e54a47 (diff) | |
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 <[email protected]>
Acked-by: Roger Quadros <[email protected]>
Link: https://lore.kernel.org/r/20200901112832.3084-1-yuehaibing%40huawei.com
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions