USB: EHCI: log a warning if ehci-hcd is not loaded first
This patch (as1139) adds a warning to the system log whenever ehci-hcd is loaded after ohci-hcd or uhci-hcd. Nowadays most distributions are pretty good about not doing this; maybe the warning will help convince anyone still doing it wrong. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> [2.6.27] Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2b70f07343
commit
9beeee6584
@@ -81,6 +81,10 @@
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
/* Keep track of which host controller drivers are loaded */
|
||||
unsigned long usb_hcds_loaded;
|
||||
EXPORT_SYMBOL_GPL(usb_hcds_loaded);
|
||||
|
||||
/* host controllers we manage */
|
||||
LIST_HEAD (usb_bus_list);
|
||||
EXPORT_SYMBOL_GPL (usb_bus_list);
|
||||
|
Reference in New Issue
Block a user