mmp: include common.h for mmp_timer_init
Subsystems (3)
PATCH 1/1 mmp: include common.h for mmp_timer_init
The arch/arm/mach-mmp/time.c should include the common.h header for the declaration of mmp_timer_init.
This fixes the following sparse warning:
arch/arm/mach-mmp/time.c:184:13: warning: symbol 'mmp_timer_init' was not declared. Should it be static?
---
Cc: Lubomir Rintel <[email protected]>
Cc: [email protected]
--- arch/arm/mach-mmp/time.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-mmp/time.c +1 -0
@@ -35,6 +35,7 @@#include "irqs.h" #include "cputype.h" #include "clock.h" +#include "common.h" #define TIMERS_VIRT_BASE TIMERS1_VIRT_BASE
Signature · 7 lines
2.23.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 8 lines · Ben Dooks (Codethink)
The
arch/arm/mach-mmp/time.cshould include thecommon.hheader for the declaration ofmmp_timer_init.This fixes the following sparse warning:
arch/arm/mach-mmp/time.c:184:13: warning: symbol 'mmp_timer_init' was not declared. Should it be static?Signed-off-by Ben Dooks <[email protected]>
Thank you.
Quoted 12 lines
---
Cc: Lubomir Rintel <[email protected]>
Cc: [email protected]--- arch/arm/mach-mmp/time.c | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-mmp/time.c +0
-0
arch/arm/mach-mmp/time.c line 41
Quoted 7 lines
arch/arm/mach-mmp/time.c +1
-0@@ -35,6 +35,7 @@#include "irqs.h" #include "cputype.h" #include "clock.h" +#include "common.h" #define TIMERS_VIRT_BASE TIMERS1_VIRT_BASE
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel