diff options
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r-- | arch/arm/mach-omap2/common.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index e30ef6797c63..a6aae300542c 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h | |||
@@ -62,11 +62,17 @@ static inline int omap3_pm_init(void) | |||
62 | 62 | ||
63 | #if defined(CONFIG_PM) && defined(CONFIG_ARCH_OMAP4) | 63 | #if defined(CONFIG_PM) && defined(CONFIG_ARCH_OMAP4) |
64 | int omap4_pm_init(void); | 64 | int omap4_pm_init(void); |
65 | int omap4_pm_init_early(void); | ||
65 | #else | 66 | #else |
66 | static inline int omap4_pm_init(void) | 67 | static inline int omap4_pm_init(void) |
67 | { | 68 | { |
68 | return 0; | 69 | return 0; |
69 | } | 70 | } |
71 | |||
72 | static inline int omap4_pm_init_early(void) | ||
73 | { | ||
74 | return 0; | ||
75 | } | ||
70 | #endif | 76 | #endif |
71 | 77 | ||
72 | #ifdef CONFIG_OMAP_MUX | 78 | #ifdef CONFIG_OMAP_MUX |
@@ -236,6 +242,7 @@ static inline void __iomem *omap4_get_scu_base(void) | |||
236 | 242 | ||
237 | extern void __init gic_init_irq(void); | 243 | extern void __init gic_init_irq(void); |
238 | extern void gic_dist_disable(void); | 244 | extern void gic_dist_disable(void); |
245 | extern void gic_dist_enable(void); | ||
239 | extern bool gic_dist_disabled(void); | 246 | extern bool gic_dist_disabled(void); |
240 | extern void gic_timer_retrigger(void); | 247 | extern void gic_timer_retrigger(void); |
241 | extern void omap_smc1(u32 fn, u32 arg); | 248 | extern void omap_smc1(u32 fn, u32 arg); |
@@ -293,6 +300,7 @@ static inline void omap4_cpu_resume(void) | |||
293 | #endif | 300 | #endif |
294 | 301 | ||
295 | void pdata_quirks_init(struct of_device_id *); | 302 | void pdata_quirks_init(struct of_device_id *); |
303 | void omap_auxdata_legacy_init(struct device *dev); | ||
296 | void omap_pcs_legacy_init(int irq, void (*rearm)(void)); | 304 | void omap_pcs_legacy_init(int irq, void (*rearm)(void)); |
297 | 305 | ||
298 | struct omap_sdrc_params; | 306 | struct omap_sdrc_params; |
@@ -305,7 +313,7 @@ struct omap_hwmod; | |||
305 | extern int omap_dss_reset(struct omap_hwmod *); | 313 | extern int omap_dss_reset(struct omap_hwmod *); |
306 | 314 | ||
307 | /* SoC specific clock initializer */ | 315 | /* SoC specific clock initializer */ |
308 | extern int (*omap_clk_init)(void); | 316 | int omap_clk_init(void); |
309 | 317 | ||
310 | #endif /* __ASSEMBLER__ */ | 318 | #endif /* __ASSEMBLER__ */ |
311 | #endif /* __ARCH_ARM_MACH_OMAP2PLUS_COMMON_H */ | 319 | #endif /* __ARCH_ARM_MACH_OMAP2PLUS_COMMON_H */ |