Index: drivers/staging/brcm80211/brcmfmac/dhd.h |
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd.h b/drivers/staging/brcm80211/brcmfmac/dhd.h |
index a78b20a0cc79c85d87183bc6466a82b2b2db5daa..6e481126cd1c04c8a01d76be14896b479cebb23f 100644 |
--- a/drivers/staging/brcm80211/brcmfmac/dhd.h |
+++ b/drivers/staging/brcm80211/brcmfmac/dhd.h |
@@ -31,6 +31,7 @@ |
#include <linux/random.h> |
#include <linux/spinlock.h> |
#include <linux/ethtool.h> |
+#include <linux/suspend.h> |
#include <asm/uaccess.h> |
#include <asm/unaligned.h> |
/* The kernel threading is sdio-specific */ |
@@ -124,6 +125,8 @@ typedef struct dhd_pub { |
#if defined(CONFIG_PM_SLEEP) |
+extern volatile bool dhd_mmc_suspend; |
+ |
#define DHD_PM_RESUME_WAIT_INIT(a) DECLARE_WAIT_QUEUE_HEAD(a); |
#define _DHD_PM_RESUME_WAIT(a, b) do {\ |
int retry = 0; \ |