X-Git-Url: http://bbs.cooldavid.org/git/?a=blobdiff_plain;f=include%2Flinux%2Fmmc%2Fhost.h;h=513ff0376b095eddf23da6ce905d9d10233804ac;hb=4c2ef25fe0b8;hp=f65913c9f5a4001f5e53207c5f4a04e61f332ff7;hpb=7310ece86ad7da027f85a37a0638164118a5d12f;p=net-next-2.6.git diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index f65913c9f5a..513ff0376b0 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -124,6 +124,7 @@ struct mmc_host { unsigned int f_min; unsigned int f_max; u32 ocr_avail; + struct notifier_block pm_notify; #define MMC_VDD_165_195 0x00000080 /* VDD voltage 1.65 - 1.95 */ #define MMC_VDD_20_21 0x00000100 /* VDD voltage 2.0 ~ 2.1 */ @@ -183,6 +184,7 @@ struct mmc_host { /* Only used with MMC_CAP_DISABLE */ int enabled; /* host is enabled */ + int rescan_disable; /* disable card detection */ int nesting_cnt; /* "enable" nesting count */ int en_dis_recurs; /* detect recursion */ unsigned int disable_delay; /* disable delay in msecs */ @@ -257,6 +259,7 @@ int mmc_card_can_sleep(struct mmc_host *host); int mmc_host_enable(struct mmc_host *host); int mmc_host_disable(struct mmc_host *host); int mmc_host_lazy_disable(struct mmc_host *host); +int mmc_pm_notify(struct notifier_block *notify_block, unsigned long, void *); static inline void mmc_set_disable_delay(struct mmc_host *host, unsigned int disable_delay)