From 9727198d6d71ec5f624da1eb55b296c51d546742 Mon Sep 17 00:00:00 2001 From: Ram Prakash Gupta Date: Mon, 23 Jul 2018 12:56:28 +0530 Subject: mmc: core: Initialize temperature controlled clock scaling Register and deregister for temperature controlled clk scaling when card is attached and dettached from the device. This will allow to control the clock frequency based on temperature. Change-Id: Ie01d573406c273847fb31a5dd64e2b39671e4ac0 Signed-off-by: Ram Prakash Gupta --- include/linux/mmc/host.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux') diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 48849acf34ff..49648aa63ee3 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -185,6 +185,9 @@ struct mmc_host_ops { int (*notify_load)(struct mmc_host *, enum mmc_load); void (*notify_halt)(struct mmc_host *mmc, bool halt); void (*force_err_irq)(struct mmc_host *host, u64 errmask); + int (*check_temp)(struct mmc_host *host); + int (*reg_temp_callback)(struct mmc_host *host); + int (*dereg_temp_callback)(struct mmc_host *host); }; struct mmc_card; -- cgit v1.2.3