summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-10-01 14:21:03 +0100
committerAndy Green <andy.green@linaro.org>2011-10-02 09:38:40 +0100
commit1982167e9cfb0f653d4dc429400a10f456ff5e43 (patch)
tree0d572bdfbb790aa94c2a5b905134d5277dde1ad4 /include
parente3207cc02325cb9a0974764082e42014aea2cd8f (diff)
mmc: Fix pm_notifier obeying deferred resume
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index d658bd97373..95992365544 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -341,6 +341,7 @@ static inline void *mmc_priv(struct mmc_host *host)
#define mmc_classdev(x) (&(x)->class_dev)
#define mmc_hostname(x) (dev_name(&(x)->class_dev))
#define mmc_bus_needs_resume(host) ((host)->bus_resume_flags & MMC_BUSRESUME_NEEDS_RESUME)
+#define mmc_bus_manual_resume(host) ((host)->bus_resume_flags & MMC_BUSRESUME_MANUAL_RESUME)
static inline void mmc_set_bus_resume_policy(struct mmc_host *host, int manual)
{