[PATCH] USB: Gadget library: centralize gadget controller numbers
authorDavid Brownell <david-b@pacbell.net>
Wed, 13 Jul 2005 22:18:30 +0000 (15:18 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Sep 2005 23:22:16 +0000 (16:22 -0700)
commit91e79c91fab10f5790159d8d0c1d16da2a9653f9
treea557a39bfe9dce508317baf7cd2e5217ac6f0c5d
parent81671ddb7e24e9d1f84812dba8ed810935f77d40
[PATCH] USB: Gadget library: centralize gadget controller numbers

This patch centralizes the assignment of bcdDevice numbers for different
gadget controllers.  This won't improve the object code at all, but it
does save a lot of repetitive and error-prone source code ... and will
simplify the work of supporting a new controller driver, since most new
gadget drivers will no longer need patches (unless some hardware quirks
limit USB protocol messaging).

Added minor cleanups and identifer hooks for the UDC in the Freescale
iMX series processors.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/ether.c
drivers/usb/gadget/file_storage.c
drivers/usb/gadget/gadget_chips.h
drivers/usb/gadget/serial.c
drivers/usb/gadget/zero.c