ARM: OMAP1: fix omap_udc registration
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 1 Apr 2013 20:03:00 +0000 (23:03 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 8 Apr 2013 20:59:51 +0000 (13:59 -0700)
commit0345a1e33978b60c8ea13235af5af8da3db6af5b
treecfe293206a48f6a4bb9724cfbd73b4a79b0d4dc6
parent31880c37c11e28cb81c70757e38392b42e695dc6
ARM: OMAP1: fix omap_udc registration

omap_udc platform device is not registered properly anymore:
CONFIG_USB_GADGET_OMAP was deleted by 193ab2a6 (usb: gadget: allow
multiple gadgets to be built) already in v3.1.

Fix by using CONFIG_USB_OMAP instead. Tested on Nokia 770 by checking
that omap_udc is probed & working properly when built as a module.

Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/include/mach/usb.h
arch/arm/mach-omap1/usb.c