Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e3409b7 authored by Sahitya Tummala's avatar Sahitya Tummala
Browse files

mtd: msm_qpic_nand: Use correct config option for bus voting



Use CONFIG_QCOM_BUS_SCALING instead of old and deprecated
CONFIG_MSM_BUS_SCALING on msm-4.9  kernel.

Change-Id: I4ccddf4463b34f2ce893f45a20f390fd42c10d67
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 7394b4ae
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ static dma_addr_t msm_nand_dma_map(struct device *dev, void *addr, size_t size,
	return dma_map_page(dev, page, offset, size, dir);
}

#ifdef CONFIG_MSM_BUS_SCALING
#ifdef CONFIG_QCOM_BUS_SCALING
static int msm_nand_bus_set_vote(struct msm_nand_info *info,
			unsigned int vote)
{
@@ -283,7 +283,7 @@ static int msm_nand_put_device(struct device *dev)
}
#endif

#ifdef CONFIG_MSM_BUS_SCALING
#ifdef CONFIG_QCOM_BUS_SCALING
static int msm_nand_bus_register(struct platform_device *pdev,
		struct msm_nand_info *info)
{
@@ -314,6 +314,7 @@ static void msm_nand_bus_unregister(struct msm_nand_info *info)
static int msm_nand_bus_register(struct platform_device *pdev,
		struct msm_nand_info *info)
{
	pr_info("couldn't register due to missing config option\n");
	return 0;
}