staging: usbip: stub_main.c: rename init and exit functions
authormatt mooney <mfm@muteddisk.com>
Fri, 20 May 2011 04:36:59 +0000 (21:36 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:51:23 +0000 (13:51 -0700)
Change the prefix of the __init and __exit functions to usbip_host_ to
correspond with the modules name.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/stub_main.c

index 00398a694273570e83d34246aa8638a70a3101f6..53d6977db63e4bd3c3e209f5f002ed07bc54c8de 100644 (file)
@@ -245,7 +245,7 @@ void stub_device_cleanup_urbs(struct stub_device *sdev)
        }
 }
 
-static int __init usb_stub_init(void)
+static int __init usbip_host_init(void)
 {
        int ret;
 
@@ -281,7 +281,7 @@ err_usb_register:
        return ret;
 }
 
-static void __exit usb_stub_exit(void)
+static void __exit usbip_host_exit(void)
 {
        driver_remove_file(&stub_driver.drvwrap.driver,
                           &driver_attr_match_busid);
@@ -295,8 +295,8 @@ static void __exit usb_stub_exit(void)
        kmem_cache_destroy(stub_priv_cache);
 }
 
-module_init(usb_stub_init);
-module_exit(usb_stub_exit);
+module_init(usbip_host_init);
+module_exit(usbip_host_exit);
 
 MODULE_AUTHOR(DRIVER_AUTHOR);
 MODULE_DESCRIPTION(DRIVER_DESC);