diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-05-04 11:04:11 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-05-04 11:04:11 (GMT) |
commit | 5693188a6e888603afa9564974145e5e6e2c623c (patch) | |
tree | d092580bb003f34fb630d62916214a045ba078f1 /arch/arm/include/asm | |
parent | e423c0c30c76fc850a443102a2965ec397ba6e21 (diff) | |
parent | fb8a99f9f6bdc908cbbd2284cee80c709d9f7c03 (diff) | |
download | linux-fsl-qoriq-5693188a6e888603afa9564974145e5e6e2c623c.tar.xz |
Merge branch 'timers-v3.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into devel-stable
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch_timer.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch_timer.h b/arch/arm/include/asm/arch_timer.h new file mode 100644 index 0000000..ed2e95d --- /dev/null +++ b/arch/arm/include/asm/arch_timer.h @@ -0,0 +1,19 @@ +#ifndef __ASMARM_ARCH_TIMER_H +#define __ASMARM_ARCH_TIMER_H + +#ifdef CONFIG_ARM_ARCH_TIMER +int arch_timer_of_register(void); +int arch_timer_sched_clock_init(void); +#else +static inline int arch_timer_of_register(void) +{ + return -ENXIO; +} + +static inline int arch_timer_sched_clock_init(void) +{ + return -ENXIO; +} +#endif + +#endif |