aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2015-11-16 13:21:05 +0000
committerJon Medhurst <tixy@linaro.org>2016-07-19 16:33:21 +0100
commit7a28f09d26b6ab94a4a29f35df87eefd086ec68b (patch)
treee8b57704a83e08e18bab6335b3ac40943d3bcfbf
parentbb92dc138faf5bc5d1c0b30ebe7925c7a45a671a (diff)
Rename opp functions Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rwxr-xr-xdrivers/gpu/arm/midgard/mali_kbase_core_linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/arm/midgard/mali_kbase_core_linux.c b/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
index 71a22c39d509..1e5a9c085eae 100755
--- a/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
+++ b/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
@@ -3698,7 +3698,7 @@ static int kbase_platform_device_probe(struct platform_device *pdev)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0)) && defined(CONFIG_OF) \
&& defined(CONFIG_PM_OPP)
/* Register the OPPs if they are available in device tree */
- if (of_init_opp_table(kbdev->dev) < 0)
+ if (dev_pm_opp_of_add_table(kbdev->dev) < 0)
dev_dbg(kbdev->dev, "OPP table not found\n");
#endif
@@ -3738,7 +3738,7 @@ out_sysfs:
kbase_common_device_remove(kbdev);
out_common_init:
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
- of_free_opp_table(kbdev->dev);
+ dev_pm_opp_of_remove_table(kbdev->dev);
#endif
clk_disable_unprepare(kbdev->clock);
out_clock_prepare: