From: Thierry Reding Date: Mon, 11 Jul 2016 08:48:36 +0000 (+0200) Subject: ARM: s3c64xx: smartq: Avoid sparse warnings X-Git-Tag: v4.8-rc1~70^2^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3981b11fda14ea0b459043d97c68db0a614ec9f8;p=karo-tx-linux.git 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 Signed-off-by: Krzysztof Kozlowski --- 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 #include "common.h" +#include "mach-smartq.h" #include "regs-modem.h" #define UCON S3C2410_UCON_DEFAULT