diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-11-11 10:11:23 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-11-15 14:05:20 +0100 |
commit | 90dc0df9168b6c1ddb339481b440d7c13cc4417c (patch) | |
tree | 45857dd100fb8cc71384992f552ae48d098aeda2 /arch/arm/mach-s3c | |
parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) | |
download | linux-90dc0df9168b6c1ddb339481b440d7c13cc4417c.tar.gz linux-90dc0df9168b6c1ddb339481b440d7c13cc4417c.tar.bz2 linux-90dc0df9168b6c1ddb339481b440d7c13cc4417c.zip |
ARM: s3c: include header for prototype of s3c2410_modify_misccr
Include the header with prototype of s3c2410_modify_misccr to fix W=1
warning:
arch/arm/mach-s3c/gpio-samsung.c:1309:14: warning:
no previous prototype for ‘s3c2410_modify_misccr’ [-Wmissing-prototypes]
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211111091123.50853-1-krzysztof.kozlowski@canonical.com
Diffstat (limited to 'arch/arm/mach-s3c')
-rw-r--r-- | arch/arm/mach-s3c/gpio-samsung.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c/gpio-samsung.c b/arch/arm/mach-s3c/gpio-samsung.c index 76ef415789f2..fda2c01f5a08 100644 --- a/arch/arm/mach-s3c/gpio-samsung.c +++ b/arch/arm/mach-s3c/gpio-samsung.c @@ -35,6 +35,7 @@ #include "gpio-core.h" #include "gpio-cfg.h" #include "gpio-cfg-helpers.h" +#include "hardware-s3c24xx.h" #include "pm.h" int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip, |