From: Alan Stern Date: Mon, 25 Apr 2005 15:25:17 +0000 (-0400) Subject: [PATCH] usbcore: register root hub in usb_add_hcd X-Git-Tag: v2.6.13-rc1~51^2~8^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ec8d20b21f00a36343ca0ebd6c6be9421724a1e;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed