diff options
author | Andres Salomon <dilinger@debian.org> | 2007-11-20 17:43:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:50 -0500 |
commit | 4fb910fd3ada36cd9fbf6e037b87f2a83fd740b7 (patch) | |
tree | 22074ec5148e1ac9f4a4ed194b20b0c5da3a9f91 | |
parent | 82209adcb157e5861f2105d1658f1f07f75d69f2 (diff) |
libertas: mark module_init/exit functions as __init/__exit
Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/libertas/if_sdio.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net/wireless/libertas/if_sdio.c index 0c762eea7a34..de4ad57fae49 100644 --- a/drivers/net/wireless/libertas/if_sdio.c +++ b/drivers/net/wireless/libertas/if_sdio.c | |||
@@ -1052,7 +1052,7 @@ static struct sdio_driver if_sdio_driver = { | |||
1052 | /* Module functions */ | 1052 | /* Module functions */ |
1053 | /*******************************************************************/ | 1053 | /*******************************************************************/ |
1054 | 1054 | ||
1055 | static int if_sdio_init_module(void) | 1055 | static int __init if_sdio_init_module(void) |
1056 | { | 1056 | { |
1057 | int ret = 0; | 1057 | int ret = 0; |
1058 | 1058 | ||
@@ -1068,7 +1068,7 @@ static int if_sdio_init_module(void) | |||
1068 | return ret; | 1068 | return ret; |
1069 | } | 1069 | } |
1070 | 1070 | ||
1071 | static void if_sdio_exit_module(void) | 1071 | static void __exit if_sdio_exit_module(void) |
1072 | { | 1072 | { |
1073 | lbs_deb_enter(LBS_DEB_SDIO); | 1073 | lbs_deb_enter(LBS_DEB_SDIO); |
1074 | 1074 | ||
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index 6d19d2677027..f7d2b46340e8 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c | |||
@@ -1020,7 +1020,7 @@ static struct usb_driver if_usb_driver = { | |||
1020 | .resume = if_usb_resume, | 1020 | .resume = if_usb_resume, |
1021 | }; | 1021 | }; |
1022 | 1022 | ||
1023 | static int if_usb_init_module(void) | 1023 | static int __init if_usb_init_module(void) |
1024 | { | 1024 | { |
1025 | int ret = 0; | 1025 | int ret = 0; |
1026 | 1026 | ||
@@ -1032,7 +1032,7 @@ static int if_usb_init_module(void) | |||
1032 | return ret; | 1032 | return ret; |
1033 | } | 1033 | } |
1034 | 1034 | ||
1035 | static void if_usb_exit_module(void) | 1035 | static void __exit if_usb_exit_module(void) |
1036 | { | 1036 | { |
1037 | struct usb_card_rec *cardp, *cardp_temp; | 1037 | struct usb_card_rec *cardp, *cardp_temp; |
1038 | 1038 | ||
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 825970af3419..f0da18c331db 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -1510,7 +1510,7 @@ int lbs_reset_device(lbs_private *priv) | |||
1510 | } | 1510 | } |
1511 | EXPORT_SYMBOL_GPL(lbs_reset_device); | 1511 | EXPORT_SYMBOL_GPL(lbs_reset_device); |
1512 | 1512 | ||
1513 | static int lbs_init_module(void) | 1513 | static int __init lbs_init_module(void) |
1514 | { | 1514 | { |
1515 | lbs_deb_enter(LBS_DEB_MAIN); | 1515 | lbs_deb_enter(LBS_DEB_MAIN); |
1516 | lbs_debugfs_init(); | 1516 | lbs_debugfs_init(); |
@@ -1518,7 +1518,7 @@ static int lbs_init_module(void) | |||
1518 | return 0; | 1518 | return 0; |
1519 | } | 1519 | } |
1520 | 1520 | ||
1521 | static void lbs_exit_module(void) | 1521 | static void __exit lbs_exit_module(void) |
1522 | { | 1522 | { |
1523 | lbs_deb_enter(LBS_DEB_MAIN); | 1523 | lbs_deb_enter(LBS_DEB_MAIN); |
1524 | 1524 | ||