summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-04 21:26:50 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-17 18:54:33 +0200
commitdce6e8ee6188935dd3adc8d368f3d63d8a6ea338 (patch)
treeb39fb2e9837342fc1b1b07cd53e520720a8354bf /arch
parent80c0b155e564123e4e4cb31ff1f68366919430c0 (diff)
ARM: s3c24xx: include common.h header in s3c2443.c
Include common.h header in the s3c2443.c to bring the prototypes of defined functions and fix W=1 compile warnings: arch/arm/mach-s3c24xx/s3c2443.c:60:12: warning: no previous prototype for 's3c2443_init' [-Wmissing-prototypes] arch/arm/mach-s3c24xx/s3c2443.c:77:13: warning: no previous prototype for 's3c2443_init_uarts' [-Wmissing-prototypes] arch/arm/mach-s3c24xx/s3c2443.c:88:13: warning: no previous prototype for 's3c2443_map_io' [-Wmissing-prototypes] Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-s3c24xx/s3c2443.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/s3c2443.c b/arch/arm/mach-s3c24xx/s3c2443.c
index 4cbeb74cf3d6..c278cfc10ba5 100644
--- a/arch/arm/mach-s3c24xx/s3c2443.c
+++ b/arch/arm/mach-s3c24xx/s3c2443.c
@@ -38,6 +38,7 @@
#include <plat/cpu.h>
#include <plat/adc-core.h>
+#include "common.h"
#include "fb-core.h"
#include "nand-core.h"
#include "spi-core.h"