Title: [9295] trunk/drivers/usb/musb/musb_core.h: musb: pm: keep ifdef tree that upstream has and just add "blackfin" to it
- Revision
- 9295
- Author
- vapier
- Date
- 2010-10-23 05:38:54 -0400 (Sat, 23 Oct 2010)
Log Message
musb: pm: keep ifdef tree that upstream has and just add "blackfin" to it
Modified Paths
Diff
Modified: trunk/drivers/usb/musb/musb_core.h (9294 => 9295)
--- trunk/drivers/usb/musb/musb_core.h 2010-10-23 09:38:26 UTC (rev 9294)
+++ trunk/drivers/usb/musb/musb_core.h 2010-10-23 09:38:54 UTC (rev 9295)
@@ -485,7 +485,9 @@
struct musb_csr_regs index_regs[MUSB_C_NUM_EPS];
};
-#ifdef CONFIG_PM
+#if defined(CONFIG_PM) && \
+ (defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \
+ defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_BLACKFIN))
extern void musb_platform_save_context(struct musb *musb,
struct musb_context_registers *musb_context);
extern void musb_platform_restore_context(struct musb *musb,
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits