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>
This commit is contained in:
Krzysztof Kozlowski 2020-08-04 21:26:51 +02:00
Родитель dce6e8ee61
Коммит dc986f243e
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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)
{