]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: allow building USB_MUSB_TUSB6010 as a module
authorArnd Bergmann <arnd@arndb.de>
Sun, 2 Oct 2011 14:45:47 +0000 (16:45 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:51:42 +0000 (11:51 +0200)
commit25fb8333188082dcf3993812f8a4c20905442421
tree6b90d25ae0311a5f4edaff4cadf9be61e5727410
parentd46021ad73fd3e2b31388f3c2d87ed49dc4d8eec
usb: musb: allow building USB_MUSB_TUSB6010 as a module

Commit 7e3831686 "usb: musb: allow musb and glue layers to be modules"
made the USB_MUSB_TUSB6010 option modular, but actually building
the driver as a module does not work, so various randconfig builds
actually fail. This changes all code that depends on the
option to also check for modular builds, and exports the necessary
symbols.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
arch/arm/mach-omap2/board-n8x0.c
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_io.h
drivers/usb/musb/tusb6010.c