• Tony Lindgren's avatar
    usb: musb: Fix compile error for omaps for musb_hdrc · 9957dd97
    Tony Lindgren authored
    CONFIG_ARCH_OMAP34XX is now CONFIG_ARCH_OMAP3.
    
    But since drivers/usb/musb/omap2430.c use CONFIG_PM for these
    registers and functions, do the same for the header.
    
    Otherwise we get the following for most omap3 defconfigs:
    
    drivers/usb/musb/omap2430.c:261: error: expected identifier or '(' before 'do'
    drivers/usb/musb/omap2430.c:261: error: expected identifier or '(' before 'while'
    drivers/usb/musb/omap2430.c:268: error: expected identifier or '(' before 'do'
    drivers/usb/musb/omap2430.c:268: error: expected identifier or '(' before 'while'
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    9957dd97
musb_core.h 16.4 KB