Messages in this thread Patch in this message | | | From | Jiri Olsa <> | Subject | [PATCH 12/13] drivers/usb/musb: removing redundant ifdefs | Date | Thu, 6 May 2010 19:36:16 +0200 |
| |
wbr, jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com> --- drivers/usb/musb/musb_core.h | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index ac17b00..8ddcd41 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h @@ -468,10 +468,7 @@ struct musb_csr_regs { }; struct musb_context_registers { - -#ifdef CONFIG_PM u32 otg_sysconfig, otg_forcestandby; -#endif u8 power; u16 intrtxe, intrrxe; u8 intrusbe; @@ -483,16 +480,10 @@ struct musb_context_registers { struct musb_csr_regs index_regs[MUSB_C_NUM_EPS]; }; -#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, 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_set_vbus(struct musb *musb, int is_on) -- 1.6.6.1
| |