]> git.karo-electronics.de Git - linux-beck.git/commit
usb: musb: Fix compile error for omaps for musb_hdrc
authorTony Lindgren <tony@atomide.com>
Fri, 12 Mar 2010 08:35:20 +0000 (10:35 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Mar 2010 14:24:12 +0000 (07:24 -0700)
commit9957dd97ec5e98dd334f87ade1d9a0b24d1f86eb
treea53c347ac3a230e52ecf44b9b4740e34f926f5f8
parentfa7bf3424ead0a496f5176abb3253b8176bb2935
usb: musb: Fix compile error for omaps for musb_hdrc

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: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.h