diff options
| author | Subhash Jadavani <subhashj@codeaurora.org> | 2016-04-27 17:19:29 -0700 |
|---|---|---|
| committer | Subhash Jadavani <subhashj@codeaurora.org> | 2016-05-27 10:28:27 -0700 |
| commit | 9df78479e4fd99ed6502a8be222c0b00e6e6615b (patch) | |
| tree | c5d9c1307e6896827dd3020036a5af44a5f2e65a /include/linux | |
| parent | 15685a80dbe71dc8f3fc3f2448e5b340e1d9e50c (diff) | |
Revert "mmc: core: Remove the ->enable|disable() callbacks"
This reverts commit 40433267331bc6b9d70d5cdd14bfa2c8e3e5f0ec as
MSM platforms still needs ->enable/disable() callbacks.
Conflicts:
drivers/mmc/core/core.c
Change-Id: Ifd986825c10f1475bfcdac37ea1f3b99e5f6daaf
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmc/host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 2f0d67880f44..2b6159a85a15 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -81,6 +81,12 @@ struct mmc_ios { struct mmc_host_ops { /* + * 'enable' is called when the host is claimed and 'disable' is called + * when the host is released. 'enable' and 'disable' are deprecated. + */ + int (*enable)(struct mmc_host *host); + int (*disable)(struct mmc_host *host); + /* * It is optional for the host to implement pre_req and post_req in * order to support double buffering of requests (prepare one * request while another request is active). |
