aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/core.h')
-rw-r--r--drivers/mmc/core/core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h
index d76597c65e3a..cfba3c05aab1 100644
--- a/drivers/mmc/core/core.h
+++ b/drivers/mmc/core/core.h
@@ -27,11 +27,15 @@ struct mmc_bus_ops {
27 int (*power_restore)(struct mmc_host *); 27 int (*power_restore)(struct mmc_host *);
28 int (*alive)(struct mmc_host *); 28 int (*alive)(struct mmc_host *);
29 int (*shutdown)(struct mmc_host *); 29 int (*shutdown)(struct mmc_host *);
30 int (*reset)(struct mmc_host *);
30}; 31};
31 32
32void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops); 33void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops);
33void mmc_detach_bus(struct mmc_host *host); 34void mmc_detach_bus(struct mmc_host *host);
34 35
36struct device_node *mmc_of_find_child_device(struct mmc_host *host,
37 unsigned func_num);
38
35void mmc_init_erase(struct mmc_card *card); 39void mmc_init_erase(struct mmc_card *card);
36 40
37void mmc_set_chip_select(struct mmc_host *host, int mode); 41void mmc_set_chip_select(struct mmc_host *host, int mode);
@@ -82,5 +86,8 @@ void mmc_add_card_debugfs(struct mmc_card *card);
82void mmc_remove_card_debugfs(struct mmc_card *card); 86void mmc_remove_card_debugfs(struct mmc_card *card);
83 87
84void mmc_init_context_info(struct mmc_host *host); 88void mmc_init_context_info(struct mmc_host *host);
89
90int mmc_execute_tuning(struct mmc_card *card);
91
85#endif 92#endif
86 93