diff options
author | Jon Medhurst <tixy@linaro.org> | 2015-11-16 13:21:05 +0000 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2016-07-19 16:33:21 +0100 |
commit | 7a28f09d26b6ab94a4a29f35df87eefd086ec68b (patch) | |
tree | e8b57704a83e08e18bab6335b3ac40943d3bcfbf | |
parent | bb92dc138faf5bc5d1c0b30ebe7925c7a45a671a (diff) |
mali: Fixes for Linux 4.4previous-armlt-malinext-armlt-malilatest-armlt-mali
Rename opp functions
Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rwxr-xr-x | drivers/gpu/arm/midgard/mali_kbase_core_linux.c | 4 |
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: |