diff options
Diffstat (limited to 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/host.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 4a9d9d2589c7..3a85e73a38a9 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h | |||
@@ -320,5 +320,10 @@ static inline int mmc_card_is_removable(struct mmc_host *host) | |||
320 | return !(host->caps & MMC_CAP_NONREMOVABLE) && mmc_assume_removable; | 320 | return !(host->caps & MMC_CAP_NONREMOVABLE) && mmc_assume_removable; |
321 | } | 321 | } |
322 | 322 | ||
323 | static inline int mmc_card_is_powered_resumed(struct mmc_host *host) | ||
324 | { | ||
325 | return host->pm_flags & MMC_PM_KEEP_POWER; | ||
326 | } | ||
327 | |||
323 | #endif | 328 | #endif |
324 | 329 | ||