commit | 8ec8d20b21f00a36343ca0ebd6c6be9421724a1e | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Mon Apr 25 11:25:17 2005 -0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Jun 27 14:43:49 2005 -0700 |
tree | 7b30b39e57579f04adef17375c61cf12a1e18b4c | |
parent | bc96c0ad1ed0c938fefc0423aa99f086c5a2a1ea [diff] |
[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>