aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/core/host.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/host.h')
-rw-r--r--drivers/mmc/core/host.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/core/host.h b/drivers/mmc/core/host.h
index f2ab9e578126..4dcf49937ecd 100644
--- a/drivers/mmc/core/host.h
+++ b/drivers/mmc/core/host.h
@@ -12,8 +12,13 @@
#define _MMC_CORE_HOST_H
#include <linux/mmc/host.h>
+#define cls_dev_to_mmc_host(d) container_of(d, struct mmc_host, class_dev)
+
int mmc_register_host_class(void);
void mmc_unregister_host_class(void);
+void mmc_latency_hist_sysfs_init(struct mmc_host *host);
+void mmc_latency_hist_sysfs_exit(struct mmc_host *host);
+
#endif