Skip to content

Commit

Permalink
Staging: brcm80211: remove unneeded pm macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Oct 7, 2010
1 parent 624573d commit 878a667
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/brcm80211/include/linuxver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/sys/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 878a667

Please sign in to comment.