]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Staging: brcm80211: remove unneeded pm macro
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 7 Oct 2010 23:28:15 +0000 (16:28 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 7 Oct 2010 23:28:15 +0000 (16:28 -0700)
Use the real type, not a macro.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/include/linuxver.h
drivers/staging/brcm80211/sys/wl_mac80211.c

index 921cf66636f8ae6236d8a13512dc7ff826727966..a2b082fad26535e19a844c6df8f777d82bfd15de 100644 (file)
@@ -39,9 +39,6 @@ typedef irqreturn_t(*FN_ISR) (int irq, void *dev_id, struct pt_regs * ptregs);
 #include <linux/sched.h>
 #include <linux/ieee80211.h>
 
-/* suspend args */
-#define DRV_SUSPEND_STATE_TYPE pm_message_t
-
 #define CHECKSUM_HW    CHECKSUM_PARTIAL
 
 #include <linux/time.h>
index a2e5feb8aa9bb2445fadc3463fff2aae07cd49cf..2360815a49d627cf3304d131b11d862b7226d062 100644 (file)
@@ -1359,7 +1359,7 @@ wl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 }
 
 #ifdef LINUXSTA_PS
-static int wl_suspend(struct pci_dev *pdev, DRV_SUSPEND_STATE_TYPE state)
+static int wl_suspend(struct pci_dev *pdev, pm_message_t state)
 {
        wl_info_t *wl;
        struct ieee80211_hw *hw;