aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2009-12-22 03:34:20 -0500
committerMarcel Holtmann <marcel@holtmann.org>2010-02-27 08:05:37 -0500
commit8e5b2308489dbca27c104fc6a557d4c9348552e5 (patch)
tree3c360c11ca8ca10cf12d4fa691630e79cbc71efe /drivers/bluetooth
parent8266d7127c1b0bdf924066c19c71be4d351e9583 (diff)
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>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btmrvl_sdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index 57d965b7f521..94f1f55f81f0 100644
--- a/drivers/bluetooth/btmrvl_sdio.c
+++ b/drivers/bluetooth/btmrvl_sdio.c
@@ -976,7 +976,7 @@ static struct sdio_driver bt_mrvl_sdio = {
976 .remove = btmrvl_sdio_remove, 976 .remove = btmrvl_sdio_remove,
977}; 977};
978 978
979static int btmrvl_sdio_init_module(void) 979static int __init btmrvl_sdio_init_module(void)
980{ 980{
981 if (sdio_register_driver(&bt_mrvl_sdio) != 0) { 981 if (sdio_register_driver(&bt_mrvl_sdio) != 0) {
982 BT_ERR("SDIO Driver Registration Failed"); 982 BT_ERR("SDIO Driver Registration Failed");
@@ -989,7 +989,7 @@ static int btmrvl_sdio_init_module(void)
989 return 0; 989 return 0;
990} 990}
991 991
992static void btmrvl_sdio_exit_module(void) 992static void __exit btmrvl_sdio_exit_module(void)
993{ 993{
994 /* Set the flag as user is removing this module. */ 994 /* Set the flag as user is removing this module. */
995 user_rmmod = 1; 995 user_rmmod = 1;