diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-01-10 17:15:45 -0500 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2012-03-13 09:27:51 -0400 |
commit | d8e0364364d333feb4564bb7d7d983182b34427e (patch) | |
tree | d79b09cf76a2a0852086b5b11e6f824d158f4cce /arch/arm/include/asm/smp_twd.h | |
parent | 81e46f7b6dcec485bcb1f988ba4dc5b20189573c (diff) |
ARM: smp_twd: add device tree support
Add bindings to support DT discovery of the ARM Timer Watchdog
(aka TWD). Only the timer side is converted by this patch.
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/include/asm/smp_twd.h')
-rw-r--r-- | arch/arm/include/asm/smp_twd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/smp_twd.h b/arch/arm/include/asm/smp_twd.h index 16c89b793f90..8047e6e580b6 100644 --- a/arch/arm/include/asm/smp_twd.h +++ b/arch/arm/include/asm/smp_twd.h | |||
@@ -40,4 +40,12 @@ struct twd_local_timer name __initdata = { \ | |||
40 | 40 | ||
41 | int twd_local_timer_register(struct twd_local_timer *); | 41 | int twd_local_timer_register(struct twd_local_timer *); |
42 | 42 | ||
43 | #ifdef CONFIG_HAVE_ARM_TWD | ||
44 | void twd_local_timer_of_register(void); | ||
45 | #else | ||
46 | static inline void twd_local_timer_of_register(void) | ||
47 | { | ||
48 | } | ||
49 | #endif | ||
50 | |||
43 | #endif | 51 | #endif |