diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2011-10-09 02:22:15 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-09 02:22:15 +0100 |
commit | ea6dfc64fecac0586b394d61d3a8e91d9dcfeb58 (patch) | |
tree | d52bebc4b1297099fa5e69aeafd981b007e4ff0d /include/linux/mmc/host.h | |
parent | 06136bbd2b19f3fc0b5332465cf8e8f6ebd3828b (diff) |
mmc: Fix pm_notifier obeying deferred resume
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'include/linux/mmc/host.h')
-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) { |