summaryrefslogtreecommitdiff
path: root/include/linux/mmc/host.h
diff options
context:
space:
mode:
authorNeilBrown <neil@brown.name>2015-03-26 00:43:37 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2015-03-27 12:57:55 +0300
commit40433267331bc6b9d70d5cdd14bfa2c8e3e5f0ec (patch)
tree21236a8f5a8f5acf11fa2ee99a7c895d4b736f02 /include/linux/mmc/host.h
parentf57ba4ca483a3e7d0ca31677f3baf036740c883b (diff)
downloadlinux-40433267331bc6b9d70d5cdd14bfa2c8e3e5f0ec.tar.xz
mmc: core: Remove the ->enable|disable() callbacks
These callbacks have been set to deprecated for some time. The last user (omap_hsmmc) has moved away from using them, which thus enables us to completely remove them. Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc/host.h')
-rw-r--r--include/linux/mmc/host.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 0c8cbe5d1550..b5bedaec6223 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -80,12 +80,6 @@ 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).