Re: [PATCH v3 -next] memory: omap-gpmc: Fix -Wunused-function warnings

2020-09-02 Thread Krzysztof Kozlowski
On Tue, Sep 01, 2020 at 07:28:32PM +0800, YueHaibing wrote: > 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] > static int gpmc_cs_remap(int cs, u32 base) > ^ > drivers/mem

Re: [PATCH v3 -next] memory: omap-gpmc: Fix -Wunused-function warnings

2020-09-01 Thread Roger Quadros
On 01/09/2020 14:28, YueHaibing wrote: 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] static int gpmc_cs_remap(int cs, u32 base) ^ drivers/memory/omap-gpmc.c:926:20: warn

[PATCH v3 -next] memory: omap-gpmc: Fix -Wunused-function warnings

2020-09-01 Thread YueHaibing
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] static int gpmc_cs_remap(int cs, u32 base) ^ drivers/memory/omap-gpmc.c:926:20: warning: ‘gpmc_cs_get_name’ defined but not used