diff options
author | Jon Medhurst <tixy@linaro.org> | 2016-04-29 13:03:37 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2016-07-19 16:14:29 +0100 |
commit | 29ab6b4b6c6033da4a1a6bce115c985808e8f846 (patch) | |
tree | 6822e6b42405743cc7442952425896096b8511e4 | |
parent | 802e526732e26abca17d057353734bca8377b701 (diff) |
mali: Fix following LSK's backport of OPPv2
Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rwxr-xr-x | drivers/gpu/arm/midgard/mali_kbase_core_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/arm/midgard/mali_kbase_core_linux.c b/drivers/gpu/arm/midgard/mali_kbase_core_linux.c index 5d1a75f5b28a..96a7e28a9be0 100755 --- a/drivers/gpu/arm/midgard/mali_kbase_core_linux.c +++ b/drivers/gpu/arm/midgard/mali_kbase_core_linux.c @@ -3799,7 +3799,7 @@ static int kbase_platform_device_probe(struct platform_device *pdev) #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) err = dev_pm_opp_of_add_table(kbdev->dev); #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0)) - err = of_init_opp_table(kbdev->dev); + err = dev_pm_opp_of_add_table(kbdev->dev); #endif /* LINUX_VERSION_CODE */ if (err) dev_dbg(kbdev->dev, "OPP table not found\n"); |