From ab07812fd0d0f625caafcddf9f1a3728b7072b17 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Wed, 8 Oct 2003 20:30:54 -0700 Subject: [PATCH] [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. --- drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/uhci-hcd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 3bc940ce138e2..f978d143e0907 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -125,7 +125,7 @@ /*-------------------------------------------------------------------------*/ -static const char hcd_name [] = "ohci-hcd"; +static const char hcd_name [] = "ohci_hcd"; #include "ohci.h" diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index b758e56dbe19d..fd8bc78db10c5 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c @@ -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)); } -static const char hcd_name[] = "uhci-hcd"; +static const char hcd_name[] = "uhci_hcd"; static const struct hc_driver uhci_driver = { .description = hcd_name, -- 2.53.0