Commit cd0c2b2a authored by Johannes Erdfelt's avatar Johannes Erdfelt Committed by Greg Kroah-Hartman

[PATCH] 2.5 uhci remove correct proc directory

This patch fixes a typo in the names used to remove the proc directory
that uhci uses.

The longer term fix of splitting out (or dropping outright) the
debugging code will come soon after the important bugs and features are
merged.
parent b033cfbe
...@@ -2517,7 +2517,7 @@ static int __init uhci_hcd_init(void) ...@@ -2517,7 +2517,7 @@ static int __init uhci_hcd_init(void)
up_failed: up_failed:
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
remove_proc_entry("uhci", 0); remove_proc_entry("driver/uhci", 0);
proc_failed: proc_failed:
#endif #endif
...@@ -2537,7 +2537,7 @@ static void __exit uhci_hcd_cleanup(void) ...@@ -2537,7 +2537,7 @@ static void __exit uhci_hcd_cleanup(void)
printk(KERN_INFO "uhci: not all urb_priv's were freed\n"); printk(KERN_INFO "uhci: not all urb_priv's were freed\n");
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
remove_proc_entry("uhci", 0); remove_proc_entry("driver/uhci", 0);
#endif #endif
if (errbuf) if (errbuf)
......
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