USB: nop-usb-xceiv: behave when linked as a module
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 31 Mar 2009 19:28:31 +0000 (12:28 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:40 +0000 (21:44 -0700)
commitcc835e321a9f3fa5e083436872e198095f4805b9
tree84f317bf30099d3376e171a024bc89eb5bf7a589
parentdef6f8b978618d50daaddb92331d398da9e141f1
USB: nop-usb-xceiv: behave when linked as a module

The NOP OTG transceiver driver needs to be usable from modules.
Make sure its symbols are always accessible at both compile and
link time, and make sure the device instance is allocated from
the heap so that device lifetime rules are obeyed.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/otg/nop-usb-xceiv.c
include/linux/usb/otg.h