diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-04 22:26:51 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-17 19:54:33 +0300 |
commit | dc986f243ea418a269394f76fd8c7fefdbf18f43 (patch) | |
tree | b93465e569ad89da0128527d966b5e87b0dce468 /arch/arm/mach-s3c24xx | |
parent | dce6e8ee6188935dd3adc8d368f3d63d8a6ea338 (diff) | |
download | linux-dc986f243ea418a269394f76fd8c7fefdbf18f43.tar.xz |
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 <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c24xx')
-rw-r--r-- | arch/arm/mach-s3c24xx/setup-sdhci-gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c b/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c index 218346a36d1e..ff5c0a51ded5 100644 --- a/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c +++ b/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c @@ -17,6 +17,7 @@ #include <mach/regs-gpio.h> #include <mach/gpio-samsung.h> #include <plat/gpio-cfg.h> +#include <plat/sdhci.h> void s3c2416_setup_sdhci0_cfg_gpio(struct platform_device *dev, int width) { |