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>
#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>
}
#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;