mirror of https://gitee.com/openkylin/linux.git
staging: usbip: usbip_common.c: rename init and exit functions
Change the prefix of the __init and __exit functions to usbip_core_ to correspond with the modules name. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
4b93bb37bb
commit
3028d0ae6c
|
@ -838,19 +838,19 @@ int usbip_recv_xbuff(struct usbip_device *ud, struct urb *urb)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(usbip_recv_xbuff);
|
||||
|
||||
static int __init usbip_common_init(void)
|
||||
static int __init usbip_core_init(void)
|
||||
{
|
||||
pr_info(DRIVER_DESC " v" USBIP_VERSION "\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __exit usbip_common_exit(void)
|
||||
static void __exit usbip_core_exit(void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
module_init(usbip_common_init);
|
||||
module_exit(usbip_common_exit);
|
||||
module_init(usbip_core_init);
|
||||
module_exit(usbip_core_exit);
|
||||
|
||||
MODULE_AUTHOR(DRIVER_AUTHOR);
|
||||
MODULE_DESCRIPTION(DRIVER_DESC);
|
||||
|
|
Loading…
Reference in New Issue