diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2010-10-14 15:20:21 -0700 |
---|---|---|
committer | Brian Swetland <swetland@google.com> | 2011-03-29 13:57:59 -0700 |
commit | ffcce3a591696626c708ee15e6107490cbd44e2b (patch) | |
tree | 3ff55ac7f1ab70ad03683007807d60094d8658fa /include | |
parent | 58868346bb3a86e3f6af46a3fd0a44c4636f4eca (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 01a858fb7b0e..fd81f2a26b8a 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -283,6 +283,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) { |