|
@@ -18,6 +18,7 @@ struct mmc_pwrseq_ops {
|
|
|
void (*pre_power_on)(struct mmc_host *host);
|
|
|
void (*post_power_on)(struct mmc_host *host);
|
|
|
void (*power_off)(struct mmc_host *host);
|
|
|
+ void (*reset)(struct mmc_host *host);
|
|
|
};
|
|
|
|
|
|
struct mmc_pwrseq {
|
|
@@ -36,6 +37,7 @@ int mmc_pwrseq_alloc(struct mmc_host *host);
|
|
|
void mmc_pwrseq_pre_power_on(struct mmc_host *host);
|
|
|
void mmc_pwrseq_post_power_on(struct mmc_host *host);
|
|
|
void mmc_pwrseq_power_off(struct mmc_host *host);
|
|
|
+void mmc_pwrseq_reset(struct mmc_host *host);
|
|
|
void mmc_pwrseq_free(struct mmc_host *host);
|
|
|
|
|
|
#else
|
|
@@ -49,6 +51,7 @@ static inline int mmc_pwrseq_alloc(struct mmc_host *host) { return 0; }
|
|
|
static inline void mmc_pwrseq_pre_power_on(struct mmc_host *host) {}
|
|
|
static inline void mmc_pwrseq_post_power_on(struct mmc_host *host) {}
|
|
|
static inline void mmc_pwrseq_power_off(struct mmc_host *host) {}
|
|
|
+static inline void mmc_pwrseq_reset(struct mmc_host *host) {}
|
|
|
static inline void mmc_pwrseq_free(struct mmc_host *host) {}
|
|
|
|
|
|
#endif
|