diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2013-06-10 11:03:41 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-06-27 12:39:18 -0400 |
commit | 6b086bde71243e2596f9d8e3c060119b84110d33 (patch) | |
tree | a8ad7455f7d1fbc88efab37baa73bf7a0847a9b5 /drivers/mmc/core/core.h | |
parent | 7628774851751e55362ec7d9d57c9334e656a655 (diff) |
mmc: core: Extend shutdown sequence to handle bus operations
By adding an optional .shutdown callback to the bus_ops struct we
provide the possibility to let each bus type handle it's shutdown
requirements.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/core.h')
-rw-r--r-- | drivers/mmc/core/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h index 79f37cfc373b..5345d156493e 100644 --- a/drivers/mmc/core/core.h +++ b/drivers/mmc/core/core.h | |||
@@ -26,6 +26,7 @@ struct mmc_bus_ops { | |||
26 | int (*power_save)(struct mmc_host *); | 26 | int (*power_save)(struct mmc_host *); |
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 | }; | 30 | }; |
30 | 31 | ||
31 | void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops); | 32 | void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops); |