git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bluetooth: Add __init/__exit macros to Marvell SDIO driver
[pandora-kernel.git]
/
drivers
/
bluetooth
/
btmrvl_sdio.c
diff --git
a/drivers/bluetooth/btmrvl_sdio.c
b/drivers/bluetooth/btmrvl_sdio.c
index
57d965b
..
94f1f55
100644
(file)
--- a/
drivers/bluetooth/btmrvl_sdio.c
+++ b/
drivers/bluetooth/btmrvl_sdio.c
@@
-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) {
BT_ERR("SDIO Driver Registration Failed");
{
if (sdio_register_driver(&bt_mrvl_sdio) != 0) {
BT_ERR("SDIO Driver Registration Failed");
@@
-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. */
user_rmmod = 1;
{
/* Set the flag as user is removing this module. */
user_rmmod = 1;