summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-07-11 11:48:36 +0300
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-07-11 18:44:11 +0300
commit3981b11fda14ea0b459043d97c68db0a614ec9f8 (patch)
treed6b4f4ca4c3dec87d0e36c6b87ff43bd0988bd76 /arch/arm/mach-s3c64xx
parent9251e1d634946fb9caf504288409b3504c795eca (diff)
downloadlinux-3981b11fda14ea0b459043d97c68db0a614ec9f8.tar.xz
ARM: s3c64xx: smartq: Avoid sparse warnings
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>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r--arch/arm/mach-s3c64xx/mach-smartq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-smartq.c b/arch/arm/mach-s3c64xx/mach-smartq.c
index 936a63fc68d5..e0e1a729ef98 100644
--- a/arch/arm/mach-s3c64xx/mach-smartq.c
+++ b/arch/arm/mach-s3c64xx/mach-smartq.c
@@ -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