Skip to content

Commit

Permalink
staging: brcm80211: Fix debug section mismatch warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brett Rudley authored and Greg Kroah-Hartman committed Sep 30, 2010
1 parent 84b9fac commit 6f0c5bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/brcm80211/sys/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 6f0c5bc

Please sign in to comment.