Skip to content

Commit

Permalink
staging: usbip: stub_main.c: rename init and exit functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
matt mooney authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 41e02f0 commit 27ed5da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/usbip/stub_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -281,7 +281,7 @@ static int __init usb_stub_init(void)
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);
Expand All @@ -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);
Expand Down

0 comments on commit 27ed5da

Please sign in to comment.