]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] usbcore: register root hub in usb_add_hcd
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 25 Apr 2005 15:25:17 +0000 (11:25 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:43:49 +0000 (14:43 -0700)
commit8ec8d20b21f00a36343ca0ebd6c6be9421724a1e
tree7b30b39e57579f04adef17375c61cf12a1e18b4c
parentbc96c0ad1ed0c938fefc0423aa99f086c5a2a1ea
[PATCH] usbcore: register root hub in usb_add_hcd

This patch makes usbcore automatically allocate and register the root hub
device for a new host controller when the controller is registered.  This
way the HCDs don't all have to include the same boilerplate code.  As a
pleasant side benefit, the register_root_hub routine can now be made
static and not EXPORTed.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c
drivers/usb/core/hcd.h