Commit ab07812f authored by David Brownell's avatar David Brownell Committed by Benjamin Herrenschmidt

[PATCH] USB: make more driver names match module names

This resolves a bug in osdl bugtraq (#1261) by making
some more driver names match their module names.  Such
mismatches are bad because scripts often need to add
special cases, handling multiple names for drivers.
parent 83a7bded
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
static const char hcd_name [] = "ohci-hcd"; static const char hcd_name [] = "ohci_hcd";
#include "ohci.h" #include "ohci.h"
......
...@@ -2518,7 +2518,7 @@ static int uhci_hcd_get_frame_number(struct usb_hcd *hcd) ...@@ -2518,7 +2518,7 @@ static int uhci_hcd_get_frame_number(struct usb_hcd *hcd)
return uhci_get_current_frame_number(hcd_to_uhci(hcd)); return uhci_get_current_frame_number(hcd_to_uhci(hcd));
} }
static const char hcd_name[] = "uhci-hcd"; static const char hcd_name[] = "uhci_hcd";
static const struct hc_driver uhci_driver = { static const struct hc_driver uhci_driver = {
.description = hcd_name, .description = hcd_name,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment