diff options
Diffstat (limited to 'arch/arm/mach-omap2/cm33xx.h')
-rw-r--r-- | arch/arm/mach-omap2/cm33xx.h | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/arch/arm/mach-omap2/cm33xx.h b/arch/arm/mach-omap2/cm33xx.h index bd2441790779..046b4b2bc9d9 100644 --- a/arch/arm/mach-omap2/cm33xx.h +++ b/arch/arm/mach-omap2/cm33xx.h | |||
@@ -374,41 +374,6 @@ | |||
374 | 374 | ||
375 | 375 | ||
376 | #ifndef __ASSEMBLER__ | 376 | #ifndef __ASSEMBLER__ |
377 | bool am33xx_cm_is_clkdm_in_hwsup(u16 inst, u16 cdoffs); | 377 | int am33xx_cm_init(void); |
378 | void am33xx_cm_clkdm_enable_hwsup(u16 inst, u16 cdoffs); | ||
379 | void am33xx_cm_clkdm_disable_hwsup(u16 inst, u16 cdoffs); | ||
380 | void am33xx_cm_clkdm_force_sleep(u16 inst, u16 cdoffs); | ||
381 | void am33xx_cm_clkdm_force_wakeup(u16 inst, u16 cdoffs); | ||
382 | |||
383 | #if defined(CONFIG_SOC_AM33XX) || defined(CONFIG_SOC_AM43XX) | ||
384 | extern int am33xx_cm_wait_module_idle(u16 inst, s16 cdoffs, | ||
385 | u16 clkctrl_offs); | ||
386 | extern void am33xx_cm_module_enable(u8 mode, u16 inst, s16 cdoffs, | ||
387 | u16 clkctrl_offs); | ||
388 | extern void am33xx_cm_module_disable(u16 inst, s16 cdoffs, | ||
389 | u16 clkctrl_offs); | ||
390 | extern int am33xx_cm_wait_module_ready(u16 inst, s16 cdoffs, | ||
391 | u16 clkctrl_offs); | ||
392 | #else | ||
393 | static inline int am33xx_cm_wait_module_idle(u16 inst, s16 cdoffs, | ||
394 | u16 clkctrl_offs) | ||
395 | { | ||
396 | return 0; | ||
397 | } | ||
398 | static inline void am33xx_cm_module_enable(u8 mode, u16 inst, s16 cdoffs, | ||
399 | u16 clkctrl_offs) | ||
400 | { | ||
401 | } | ||
402 | static inline void am33xx_cm_module_disable(u16 inst, s16 cdoffs, | ||
403 | u16 clkctrl_offs) | ||
404 | { | ||
405 | } | ||
406 | static inline int am33xx_cm_wait_module_ready(u16 inst, s16 cdoffs, | ||
407 | u16 clkctrl_offs) | ||
408 | { | ||
409 | return 0; | ||
410 | } | ||
411 | #endif | ||
412 | |||
413 | #endif /* ASSEMBLER */ | 378 | #endif /* ASSEMBLER */ |
414 | #endif | 379 | #endif |