diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2011-10-25 11:34:37 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-25 11:34:37 +0800 |
commit | f56a3e5f0ce668503bd5c4e8cbc55ebb3e45f77a (patch) | |
tree | 566ebbe37525309d62ab0473daca48aca8338877 /include | |
parent | cfad2b380b41a30d1f4bffc9eeed5cd735d7e43c (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 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) { |