* [PATCH 04/10] bluetooth: add __init/__exit macros to drivers/bluetooth/btmrvl_sdio.c
@ 2009-12-22 8:34 peterhuewe
2009-12-22 8:43 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: peterhuewe @ 2009-12-22 8:34 UTC (permalink / raw)
To: Jiri Kosina
Cc: kernel-janitors, Peter Huewe, Marcel Holtmann, Bing Zhao,
Ben Hutchings, André Goddard Rosa, Julia Lawall,
linux-bluetooth, linux-kernel
From: Peter Huewe <peterhuewe@gmx.de>
Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of
drivers/bluetooth/btmrvl_sdio.c
Please have a look at the small patch and either pull it through
your tree, or please ack' it so Jiri can pull it through the trivial
tree.
Patch against linux-next-tree, 22. Dez 08:38:18 CET 2009
but also present in linus tree.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
drivers/bluetooth/btmrvl_sdio.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index f36defa..e397170 100644
--- a/drivers/bluetooth/btmrvl_sdio.c
+++ b/drivers/bluetooth/btmrvl_sdio.c
@@ -975,7 +975,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");
@@ -988,7 +988,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;
--
1.6.4.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 04/10] bluetooth: add __init/__exit macros to drivers/bluetooth/btmrvl_sdio.c
2009-12-22 8:34 [PATCH 04/10] bluetooth: add __init/__exit macros to drivers/bluetooth/btmrvl_sdio.c peterhuewe
@ 2009-12-22 8:43 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-12-22 8:43 UTC (permalink / raw)
To: peterhuewe
Cc: Jiri Kosina, kernel-janitors, Bing Zhao, Ben Hutchings,
André Goddard Rosa, Julia Lawall, linux-bluetooth,
linux-kernel
Hi Peter,
> From: Peter Huewe <peterhuewe@gmx.de>
>
> Trivial patch which adds the __init/__exit macros to the module_init/
> module_exit functions of
>
> drivers/bluetooth/btmrvl_sdio.c
>
> Please have a look at the small patch and either pull it through
> your tree, or please ack' it so Jiri can pull it through the trivial
> tree.
patch has been applied to my tree. Thanks.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-22 8:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-22 8:34 [PATCH 04/10] bluetooth: add __init/__exit macros to drivers/bluetooth/btmrvl_sdio.c peterhuewe
2009-12-22 8:43 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).