]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: dummy_hcd: don't register drivers on the platform bus
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 20 Nov 2007 21:28:55 +0000 (16:28 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:52 +0000 (14:34 -0800)
commit5933101718ea3d283983a923c5524c88138e5564
tree318146f6302e8195a41514c2edabee1f108407b2
parent90da096ee46b682011b7d549e52b81cf9742e60b
USB: dummy_hcd: don't register drivers on the platform bus

This patch (as1017) makes dummy_hcd behave more like the other USB
peripheral controller drivers by no longer registering its
gadget driver on the platform bus.  Doing that has always been a
mistake, since a usb_gadget_driver isn't a platform_driver.  Instead
the gadget driver is left unregistered in sysfs.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dummy_hcd.c