Commit 8e5b2308489dbca27c104fc6a557d4c9348552e5

Authored by Peter Huewe
Committed by Marcel Holtmann
1 parent 8266d7127c

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: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/bluetooth/btmrvl_sdio.c
... ... @@ -976,7 +976,7 @@
976 976 .remove = btmrvl_sdio_remove,
977 977 };
978 978  
979   -static int btmrvl_sdio_init_module(void)
  979 +static int __init btmrvl_sdio_init_module(void)
980 980 {
981 981 if (sdio_register_driver(&bt_mrvl_sdio) != 0) {
982 982 BT_ERR("SDIO Driver Registration Failed");
... ... @@ -989,7 +989,7 @@
989 989 return 0;
990 990 }
991 991  
992   -static void btmrvl_sdio_exit_module(void)
  992 +static void __exit btmrvl_sdio_exit_module(void)
993 993 {
994 994 /* Set the flag as user is removing this module. */
995 995 user_rmmod = 1;