|
@@ -470,7 +470,8 @@ struct musb_csr_regs {
|
|
|
|
|
|
struct musb_context_registers {
|
|
|
|
|
|
-#ifdef CONFIG_PM
|
|
|
+#if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \
|
|
|
+ defined(CONFIG_ARCH_OMAP4)
|
|
|
u32 otg_sysconfig, otg_forcestandby;
|
|
|
#endif
|
|
|
u8 power;
|
|
@@ -484,7 +485,8 @@ struct musb_context_registers {
|
|
|
struct musb_csr_regs index_regs[MUSB_C_NUM_EPS];
|
|
|
};
|
|
|
|
|
|
-#ifdef CONFIG_PM
|
|
|
+#if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \
|
|
|
+ defined(CONFIG_ARCH_OMAP4)
|
|
|
extern void musb_platform_save_context(struct musb *musb,
|
|
|
struct musb_context_registers *musb_context);
|
|
|
extern void musb_platform_restore_context(struct musb *musb,
|