diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmc/host.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 99f5709ac343..2a139b2bdb9e 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h | |||
| @@ -424,12 +424,9 @@ static inline int mmc_regulator_get_supply(struct mmc_host *mmc) | |||
| 424 | 424 | ||
| 425 | int mmc_pm_notify(struct notifier_block *notify_block, unsigned long, void *); | 425 | int mmc_pm_notify(struct notifier_block *notify_block, unsigned long, void *); |
| 426 | 426 | ||
| 427 | /* Module parameter */ | ||
| 428 | extern bool mmc_assume_removable; | ||
| 429 | |||
| 430 | static inline int mmc_card_is_removable(struct mmc_host *host) | 427 | static inline int mmc_card_is_removable(struct mmc_host *host) |
| 431 | { | 428 | { |
| 432 | return !(host->caps & MMC_CAP_NONREMOVABLE) && mmc_assume_removable; | 429 | return !(host->caps & MMC_CAP_NONREMOVABLE); |
| 433 | } | 430 | } |
| 434 | 431 | ||
| 435 | static inline int mmc_card_keep_power(struct mmc_host *host) | 432 | static inline int mmc_card_keep_power(struct mmc_host *host) |
