ARM: s3c64xx: smartq: Avoid sparse warnings
Subsystems (3)
PATCH 1/1 ARM: s3c64xx: smartq: Avoid sparse warnings
From: Thierry Reding <[email protected]>
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.
--- arch/arm/mach-s3c64xx/mach-smartq.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-s3c64xx/mach-smartq.c +1 -0
@@ -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
Signature · 1 line
2.8.3
Krzysztof Kozlowski
AppliedPATCH 1/1 ARM: s3c64xx: smartq: Avoid sparse warnings
Quoted 7 lines · Thierry Reding
From: Thierry Reding <[email protected]>
The
smartq_map_io()andsmartq_machine_init()functions are used by both SmartQ 5 and SmartQ 7 machines and exported via themach-smartq.hheader file. However that header file is not included by themach-smartq.cfile that implements them, causing sparse warnings.
Quoted 7 lines
Include
mach-smartq.hfrommach-smartq.cto fix these warnings.Signed-off-by Thierry Reding <[email protected]>--- arch/arm/mach-s3c64xx/mach-smartq.c | 1 + 1 file changed, 1 insertion(+)
Thanks, applied.
Best regards,
Krzysztof