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>
This commit is contained in:
parent
9e41199889
commit
82e1a184e6
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue