[PATCH] USB: ethernet gadget driver section fixups
authorAras Vaichas <arasv@magellan-technology.com>
Sat, 18 Feb 2006 20:31:23 +0000 (12:31 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 22:49:58 +0000 (14:49 -0800)
commit1afc64a3d68174fe524f11d92e045a30eacc927e
tree04b9889b1a606b27ed9d91923f09031ef566ab73
parent329af28b141ab4ae847aff1362864c4cc332641f
[PATCH] USB: ethernet gadget driver section fixups

This patch allows you to set the iSerialNumber field in the
usb_device_descriptor structure for your USB ethernet gadget.

It also changes the parameters shown through sysfs so they're
no longer declared as __initdata, preventing potential oopses.

That's most useful for the Ethernet addresses, which may in
some cases be random "locally administered" addresses.

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