]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6b3156516b02670c82668f0b03b5dade0a50978
tree84f317bf30099d3376e171a024bc89eb5bf7a589
parenta4c348097c2d3792233ea2194e8099a6fdec5cf2
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