diff options
author | Brett Rudley <brudley@broadcom.com> | 2010-09-29 17:11:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-30 04:46:17 -0700 |
commit | 6f0c5bcdff5eec67a8fd5688e604ea1317fd26c8 (patch) | |
tree | c9a42ef74a5ff6ff1fb2a6252f56faba85b4837d /drivers/staging | |
parent | 84b9fac24ba168ebe5531a820d3ed63f2f3a8935 (diff) | |
download | op-kernel-dev-6f0c5bcdff5eec67a8fd5688e604ea1317fd26c8.zip op-kernel-dev-6f0c5bcdff5eec67a8fd5688e604ea1317fd26c8.tar.gz |
staging: brcm80211: Fix debug section mismatch warning
wl_remove() is now called from places other than the .remove field of struct pci_driver so
do not annotate wl_remove() with __devexit. This removes the debug section mismatch warning
introduced by the previous nonexistant firmware patch.
Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/brcm80211/sys/wl_mac80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/brcm80211/sys/wl_mac80211.c b/drivers/staging/brcm80211/sys/wl_mac80211.c index 9063677..941b4a3 100644 --- a/drivers/staging/brcm80211/sys/wl_mac80211.c +++ b/drivers/staging/brcm80211/sys/wl_mac80211.c @@ -181,7 +181,7 @@ static struct pci_device_id wl_id_table[] = { }; MODULE_DEVICE_TABLE(pci, wl_id_table); -static void __devexit wl_remove(struct pci_dev *pdev); +static void wl_remove(struct pci_dev *pdev); #endif /* !BCMSDIO */ #ifdef BCMSDIO @@ -1441,7 +1441,7 @@ static int wl_resume(struct pci_dev *pdev) } #endif /* LINUXSTA_PS */ -static void __devexit wl_remove(struct pci_dev *pdev) +static void wl_remove(struct pci_dev *pdev) { wl_info_t *wl; struct ieee80211_hw *hw; |