From: Krzysztof Kozlowski Date: Tue, 4 Aug 2020 19:26:51 +0000 (+0200) Subject: ARM: s3c24xx: sdhci: include plat/sdhci.h header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dc986f243ea418a269394f76fd8c7fefdbf18f43;p=linux.git ARM: s3c24xx: sdhci: include plat/sdhci.h header Include plat/sdhci.h header in the sdhci code to bring the prototypes of defined functions and fix W=1 compile warnings: arch/arm/mach-s3c24xx/setup-sdhci-gpio.c:21:6: warning: no previous prototype for 's3c2416_setup_sdhci0_cfg_gpio' [-Wmissing-prototypes] arch/arm/mach-s3c24xx/setup-sdhci-gpio.c:26:6: warning: no previous prototype for 's3c2416_setup_sdhci1_cfg_gpio' [-Wmissing-prototypes] Signed-off-by: Krzysztof Kozlowski --- diff --git a/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c b/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c index 218346a36d1e7..ff5c0a51ded5d 100644 --- a/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c +++ b/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c @@ -17,6 +17,7 @@ #include #include #include +#include void s3c2416_setup_sdhci0_cfg_gpio(struct platform_device *dev, int width) {