lkml.org 
[lkml]   [2010]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 12/13] drivers/usb/musb: removing redundant ifdefs
    Date
    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


    \
     
     \ /
      Last update: 2010-05-06 19:43    [W:0.018 / U:0.192 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site