staging: brcm80211: Fix debug section mismatch warning
authorBrett Rudley <brudley@broadcom.com>
Thu, 30 Sep 2010 00:11:11 +0000 (17:11 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Sep 2010 11:46:17 +0000 (04:46 -0700)
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>
drivers/staging/brcm80211/sys/wl_mac80211.c

index 9063677e8525d429d3a7f6ff1f81164c122c9eea..941b4a392bde6f3c8cbfea18f50b0611624f77d6 100644 (file)
@@ -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;