Commit 6f0c5bcd authored by Brett Rudley's avatar Brett Rudley Committed by Greg Kroah-Hartman

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: default avatarBrett Rudley <brudley@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 84b9fac2
...@@ -181,7 +181,7 @@ static struct pci_device_id wl_id_table[] = { ...@@ -181,7 +181,7 @@ static struct pci_device_id wl_id_table[] = {
}; };
MODULE_DEVICE_TABLE(pci, 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 */ #endif /* !BCMSDIO */
#ifdef BCMSDIO #ifdef BCMSDIO
...@@ -1441,7 +1441,7 @@ static int wl_resume(struct pci_dev *pdev) ...@@ -1441,7 +1441,7 @@ static int wl_resume(struct pci_dev *pdev)
} }
#endif /* LINUXSTA_PS */ #endif /* LINUXSTA_PS */
static void __devexit wl_remove(struct pci_dev *pdev) static void wl_remove(struct pci_dev *pdev)
{ {
wl_info_t *wl; wl_info_t *wl;
struct ieee80211_hw *hw; struct ieee80211_hw *hw;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment