|
@@ -469,7 +469,7 @@ struct musb_csr_regs {
|
|
|
|
|
|
struct musb_context_registers {
|
|
|
|
|
|
-#if defined(CONFIG_ARCH_OMAP34XX) || defined(CONFIG_ARCH_OMAP2430)
|
|
|
+#ifdef CONFIG_PM
|
|
|
u32 otg_sysconfig, otg_forcestandby;
|
|
|
#endif
|
|
|
u8 power;
|
|
@@ -483,7 +483,7 @@ struct musb_context_registers {
|
|
|
struct musb_csr_regs index_regs[MUSB_C_NUM_EPS];
|
|
|
};
|
|
|
|
|
|
-#if defined(CONFIG_ARCH_OMAP34XX) || defined(CONFIG_ARCH_OMAP2430)
|
|
|
+#ifdef CONFIG_PM
|
|
|
extern void musb_platform_save_context(struct musb *musb,
|
|
|
struct musb_context_registers *musb_context);
|
|
|
extern void musb_platform_restore_context(struct musb *musb,
|