summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenkat Gopalakrishnan <venkatg@codeaurora.org>2016-04-20 16:14:12 -0700
committerJeevan Shriram <jshriram@codeaurora.org>2016-04-22 15:06:07 -0700
commit82e1a184e63ea6930c793582045a1406e6f1444b (patch)
tree15d133024638f2912b43dafc31df721e211b8955
parent9e4119988927229159d35cd8ca405c5e62d98013 (diff)
scsi: ufs-qcom: Fix bus scaling usage in UFS driver
Use QCOM_BUS_SCALING as opposed to MSM_BUS_SCALING Change-Id: I23945a040914d55aa483cfec6ef81e7342421f2e Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
-rw-r--r--drivers/scsi/ufs/ufs-qcom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c
index 7f55c6ca1165..90719d51bc6d 100644
--- a/drivers/scsi/ufs/ufs-qcom.c
+++ b/drivers/scsi/ufs/ufs-qcom.c
@@ -17,7 +17,7 @@
#include <linux/iopoll.h>
#include <linux/platform_device.h>
-#ifdef CONFIG_MSM_BUS_SCALING
+#ifdef CONFIG_QCOM_BUS_SCALING
#include <linux/msm-bus.h>
#endif
@@ -851,7 +851,7 @@ static int ufs_qcom_get_pwr_dev_param(struct ufs_qcom_dev_params *qcom_param,
return 0;
}
-#ifdef CONFIG_MSM_BUS_SCALING
+#ifdef CONFIG_QCOM_BUS_SCALING
static int ufs_qcom_get_bus_vote(struct ufs_qcom_host *host,
const char *speed_mode)
{
@@ -1017,7 +1017,7 @@ static int ufs_qcom_bus_register(struct ufs_qcom_host *host)
out:
return err;
}
-#else /* CONFIG_MSM_BUS_SCALING */
+#else /* CONFIG_QCOM_BUS_SCALING */
static int ufs_qcom_update_bus_bw_vote(struct ufs_qcom_host *host)
{
return 0;
@@ -1035,7 +1035,7 @@ static int ufs_qcom_bus_register(struct ufs_qcom_host *host)
static inline void msm_bus_scale_unregister_client(uint32_t cl)
{
}
-#endif /* CONFIG_MSM_BUS_SCALING */
+#endif /* CONFIG_QCOM_BUS_SCALING */
static void ufs_qcom_dev_ref_clk_ctrl(struct ufs_qcom_host *host, bool enable)
{