]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6942959c5e843e85ae209505382f125f4d068177
treecfe293206a48f6a4bb9724cfbd73b4a79b0d4dc6
parent5436827a623eba3678f4920bbc542ecb7cf06cad
ARM: OMAP1: fix omap_udc registration

omap_udc platform device is not registered properly anymore:
CONFIG_USB_GADGET_OMAP was deleted by f4a6f980 (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