usb gadget: link fixes for network gadget
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 19 Aug 2008 00:45:07 +0000 (17:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Oct 2008 16:24:47 +0000 (09:24 -0700)
commit33376c1c043c05077b4ac79c33804266f6c45e49
tree95d28177840c3eb1d650d7351319be2f4e141c5b
parent8a1ce2c0447b1a0816f66fde2f832c31b5fbee2c
usb gadget: link fixes for network gadget

Change how the Ethernet/RNDIS gadget driver builds:  don't
use separate compilation, since it works poorly when key
parts are library code (with init sections etc).  Instead
be as close as we can to "gcc --combine ...".

This is a bit more complicated than most of the others
because it had to resolve a few symbol collisions.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/Makefile
drivers/usb/gadget/ether.c
drivers/usb/gadget/f_ecm.c
drivers/usb/gadget/f_subset.c
drivers/usb/gadget/rndis.c