Commit 6850c4af authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: fix up compile errors in uhci driver.

parent b2e723de
...@@ -2591,7 +2591,7 @@ static int __init uhci_hcd_init(void) ...@@ -2591,7 +2591,7 @@ static int __init uhci_hcd_init(void)
init_failed: init_failed:
if (kmem_cache_destroy(uhci_up_cachep)) if (kmem_cache_destroy(uhci_up_cachep))
printk(KERN_WARN "uhci: not all urb_priv's were freed!\n"); warn("not all urb_priv's were freed!");
up_failed: up_failed:
...@@ -2613,7 +2613,7 @@ static void __exit uhci_hcd_cleanup(void) ...@@ -2613,7 +2613,7 @@ static void __exit uhci_hcd_cleanup(void)
pci_unregister_driver(&uhci_pci_driver); pci_unregister_driver(&uhci_pci_driver);
if (kmem_cache_destroy(uhci_up_cachep)) if (kmem_cache_destroy(uhci_up_cachep))
printk(KERN_WARN "uhci: not all urb_priv's were freed!\n"); warn("not all urb_priv's were freed!");
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
remove_proc_entry("driver/uhci", 0); remove_proc_entry("driver/uhci", 0);
......
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