ARM: OMAP: replace checks for CONFIG_USB_GADGET_OMAP
authorPaul Bolle <pebolle@tiscali.nl>
Fri, 16 May 2014 10:00:57 +0000 (12:00 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 16 May 2014 21:14:25 +0000 (14:14 -0700)
commit77c2f02edbeda9409a7cf3fd66233015820c213a
tree2e451b546845e43ddf1800b9e24b147990c395af
parent4513c3b8c4370d795d9856f7589c64cd216772ab
ARM: OMAP: replace checks for CONFIG_USB_GADGET_OMAP

Commit 193ab2a60700 ("usb: gadget: allow multiple gadgets to be built")
apparently required that checks for CONFIG_USB_GADGET_OMAP would be
replaced with checks for CONFIG_USB_OMAP. Do so now for the remaining
checks for CONFIG_USB_GADGET_OMAP, even though these checks have
basically been broken since v3.1.

And, since we're touching this code, use the IS_ENABLED() macro, so
things will now (hopefully) also work if USB_OMAP is modular.

Fixes: 193ab2a60700 ("usb: gadget: allow multiple gadgets to be built")
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-h3.c
arch/arm/mach-omap1/board-innovator.c
arch/arm/mach-omap1/board-osk.c
drivers/usb/phy/phy-isp1301-omap.c