提交 8e5b2308 编写于 作者: P Peter Huewe 提交者: Marcel Holtmann

Bluetooth: Add __init/__exit macros to Marvell SDIO driver

Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of btmrvl_sdio.c driver.
Signed-off-by: NPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 8266d712
...@@ -976,7 +976,7 @@ static struct sdio_driver bt_mrvl_sdio = { ...@@ -976,7 +976,7 @@ static struct sdio_driver bt_mrvl_sdio = {
.remove = btmrvl_sdio_remove, .remove = btmrvl_sdio_remove,
}; };
static int btmrvl_sdio_init_module(void) static int __init btmrvl_sdio_init_module(void)
{ {
if (sdio_register_driver(&bt_mrvl_sdio) != 0) { if (sdio_register_driver(&bt_mrvl_sdio) != 0) {
BT_ERR("SDIO Driver Registration Failed"); BT_ERR("SDIO Driver Registration Failed");
...@@ -989,7 +989,7 @@ static int btmrvl_sdio_init_module(void) ...@@ -989,7 +989,7 @@ static int btmrvl_sdio_init_module(void)
return 0; return 0;
} }
static void btmrvl_sdio_exit_module(void) static void __exit btmrvl_sdio_exit_module(void)
{ {
/* Set the flag as user is removing this module. */ /* Set the flag as user is removing this module. */
user_rmmod = 1; user_rmmod = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册