diff options
author | Felipe Balbi <balbi@ti.com> | 2010-12-02 12:27:35 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2010-12-10 10:21:26 +0200 |
commit | 496351413a227a6c0ea1a704d3d4c775d413fd08 (patch) | |
tree | e688488db9439ba5de6706260f0db4da612cc9d7 /drivers/usb/musb/musb_core.h | |
parent | fa56df915d101770a495569473b4c13b1904087b (diff) | |
download | op-kernel-dev-496351413a227a6c0ea1a704d3d4c775d413fd08.zip op-kernel-dev-496351413a227a6c0ea1a704d3d4c775d413fd08.tar.gz |
usb: musb: drop musb_platform_save/restore_context
... that can be easily folded into the
musb_platform_suspend/resume calls.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_core.h')
-rw-r--r-- | drivers/usb/musb/musb_core.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index 1e53867..f8efd543 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h @@ -603,20 +603,6 @@ extern irqreturn_t musb_interrupt(struct musb *); extern void musb_hnp_stop(struct musb *musb); -#ifdef CONFIG_PM -#if 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, - struct musb_context_registers *musb_context); -#else -#define musb_platform_save_context(m, x) do {} while (0) -#define musb_platform_restore_context(m, x) do {} while (0) -#endif - -#endif - static inline void musb_platform_set_vbus(struct musb *musb, int is_on) { if (musb->ops->set_vbus) |