aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap1/common.h')
-rw-r--r--arch/arm/mach-omap1/common.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/common.h b/arch/arm/mach-omap1/common.h
index af658ad338ec..1f7a4feca358 100644
--- a/arch/arm/mach-omap1/common.h
+++ b/arch/arm/mach-omap1/common.h
@@ -57,7 +57,14 @@ void omap1_init_irq(void);
57void omap1_restart(char, const char *); 57void omap1_restart(char, const char *);
58 58
59extern struct sys_timer omap1_timer; 59extern struct sys_timer omap1_timer;
60extern bool omap_32k_timer_init(void); 60#ifdef CONFIG_OMAP_32K_TIMER
61extern int omap_32k_timer_init(void);
62#else
63static inline int __init omap_32k_timer_init(void)
64{
65 return -ENODEV;
66}
67#endif
61extern void __init omap_init_consistent_dma_size(void); 68extern void __init omap_init_consistent_dma_size(void);
62 69
63#endif /* __ARCH_ARM_MACH_OMAP1_COMMON_H */ 70#endif /* __ARCH_ARM_MACH_OMAP1_COMMON_H */