mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: board-dt: ARM generic timer DT support
The ARM generic timer now supports DT routines to parse the device tree and populate its members, so remove this from the board file and invoke the DT routine exposed from the ARM generic timer. Change-Id: Id383aff8f5f2c8fdb541f1df72242f8938229784 Signed-off-by: Sathish Ambley <sambley@codeaurora.org> (cherry picked from commit 2f27a173d075e9f5d6fa6c6705e56a6d101da024) Conflicts: arch/arm/boot/dts/msmcopper.dts arch/arm/mach-msm/board-dt.c
This commit is contained in:
parent
383adf9919
commit
011ddc0d07
1 changed files with 6 additions and 0 deletions
|
@ -9,11 +9,17 @@ struct arch_timer {
|
|||
|
||||
#ifdef CONFIG_ARM_ARCH_TIMER
|
||||
int arch_timer_register(struct arch_timer *);
|
||||
int arch_timer_of_register(void);
|
||||
#else
|
||||
static inline int arch_timer_register(struct arch_timer *at)
|
||||
{
|
||||
return -ENXIO;
|
||||
}
|
||||
|
||||
static inline int arch_timer_of_register(void)
|
||||
{
|
||||
return -ENXIO;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue