Skip to content

Commit

Permalink
Bluetooth: Add __init/__exit macros to Marvell SDIO driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Marcel Holtmann committed Feb 27, 2010
1 parent 8266d71 commit 8e5b230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/bluetooth/btmrvl_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ static struct sdio_driver bt_mrvl_sdio = {
.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) {
BT_ERR("SDIO Driver Registration Failed");
Expand All @@ -989,7 +989,7 @@ static int btmrvl_sdio_init_module(void)
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. */
user_rmmod = 1;
Expand Down

0 comments on commit 8e5b230

Please sign in to comment.