Skip to content

Commit

Permalink
staging: rtl8192su: remove a section mismatch warning
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Florian Schilhabel authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent 1da4570 commit 67db393
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192su/ieee80211/ieee80211_crypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static struct ieee80211_crypto_ops ieee80211_crypt_null = {
.owner = THIS_MODULE,
};

int __init ieee80211_crypto_init(void)
int ieee80211_crypto_init(void)
{
int ret = -ENOMEM;

Expand All @@ -220,7 +220,7 @@ int __init ieee80211_crypto_init(void)
return ret;
}

void __exit ieee80211_crypto_deinit(void)
void ieee80211_crypto_deinit(void)
{
struct list_head *ptr, *n;
struct ieee80211_crypto_alg *alg = NULL;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192su/ieee80211/ieee80211_crypt_ccmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ int __init ieee80211_crypto_ccmp_init(void)
return ieee80211_register_crypto_ops(&ieee80211_crypt_ccmp);
}

void __exit ieee80211_crypto_ccmp_exit(void)
void ieee80211_crypto_ccmp_exit(void)
{
ieee80211_unregister_crypto_ops(&ieee80211_crypt_ccmp);
}
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192su/ieee80211/ieee80211_crypt_tkip.c
Original file line number Diff line number Diff line change
Expand Up @@ -755,12 +755,12 @@ static struct ieee80211_crypto_ops ieee80211_crypt_tkip = {
.owner = THIS_MODULE,
};

int __init ieee80211_crypto_tkip_init(void)
int ieee80211_crypto_tkip_init(void)
{
return ieee80211_register_crypto_ops(&ieee80211_crypt_tkip);
}

void __exit ieee80211_crypto_tkip_exit(void)
void ieee80211_crypto_tkip_exit(void)
{
ieee80211_unregister_crypto_ops(&ieee80211_crypt_tkip);
}
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192su/ieee80211/ieee80211_crypt_wep.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,12 @@ static struct ieee80211_crypto_ops ieee80211_crypt_wep = {
.owner = THIS_MODULE,
};

int __init ieee80211_crypto_wep_init(void)
int ieee80211_crypto_wep_init(void)
{
return ieee80211_register_crypto_ops(&ieee80211_crypt_wep);
}

void __exit ieee80211_crypto_wep_exit(void)
void ieee80211_crypto_wep_exit(void)
{
ieee80211_unregister_crypto_ops(&ieee80211_crypt_wep);
}
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192su/ieee80211/ieee80211_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ static int store_debug_level(struct file *file, const char *buffer,
return strnlen(buf, count);
}

int __init ieee80211_debug_init(void)
int ieee80211_debug_init(void)
{
struct proc_dir_entry *e;

Expand All @@ -286,7 +286,7 @@ int __init ieee80211_debug_init(void)
return 0;
}

void __exit ieee80211_debug_exit(void)
void ieee80211_debug_exit(void)
{
if (ieee80211_proc) {
remove_proc_entry("debug_level", ieee80211_proc);
Expand Down

0 comments on commit 67db393

Please sign in to comment.