[PATCH 2/2] mmc: sdhci-of-arasan: mark sdhci_arasan_reset() static

Sören Brinkmann soren.brinkmann at xilinx.com
Thu Sep 29 23:30:12 PDT 2016


On Fri, 2016-09-30 at 09:37:39 +0800, Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/mmc/host/sdhci-of-arasan.c:253:6: warning: no previous prototype for 'sdhci_arasan_reset' [-Wmissing-prototypes]
> 
> In fact, this function is only used in the file in which it is
> declared and don't need a declaration, but can be made static.
> So this patch marks it 'static'.
> 
> Signed-off-by: Baoyou Xie <baoyou.xie at linaro.org>

There is already a patch for this:
https://patchwork.kernel.org/patch/9349805/

	Sören



More information about the linux-arm-kernel mailing list