]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: s3c64xx: smartq: Avoid sparse warnings
authorThierry Reding <treding@nvidia.com>
Mon, 11 Jul 2016 08:48:36 +0000 (10:48 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 11 Jul 2016 15:44:11 +0000 (17:44 +0200)
The smartq_map_io() and smartq_machine_init() functions are used by both
SmartQ 5 and SmartQ 7 machines and exported via the mach-smartq.h header
file. However that header file is not included by the mach-smartq.c file
that implements them, causing sparse warnings.

Include mach-smartq.h from mach-smartq.c to fix these warnings.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/mach-s3c64xx/mach-smartq.c

index 936a63fc68d51644977cb800a2662e9b725fe200..e0e1a729ef98b4b7db05eb95b57e66c752f5912d 100644 (file)
@@ -43,6 +43,7 @@
 #include <plat/samsung-time.h>
 
 #include "common.h"
+#include "mach-smartq.h"
 #include "regs-modem.h"
 
 #define UCON S3C2410_UCON_DEFAULT