Files
kernel-tenderloin-3.0/arch/arm/include/asm/arch_timer.h
Sathish Ambley 2f27a173d0 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>
2012-03-25 20:52:14 -07:00

26 lines
416 B
C

#ifndef __ASMARM_ARCH_TIMER_H
#define __ASMARM_ARCH_TIMER_H
#include <linux/ioport.h>
struct arch_timer {
struct resource res[2];
};
#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