summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/arm/midgard/ipa/mali_kbase_ipa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/arm/midgard/ipa/mali_kbase_ipa.c b/drivers/gpu/arm/midgard/ipa/mali_kbase_ipa.c
index 01bdbb4e8eb1..f22379f4ba51 100644
--- a/drivers/gpu/arm/midgard/ipa/mali_kbase_ipa.c
+++ b/drivers/gpu/arm/midgard/ipa/mali_kbase_ipa.c
@@ -462,7 +462,8 @@ static u32 get_static_power_locked(struct kbase_device *kbdev,
static unsigned long kbase_get_static_power(struct devfreq *df,
unsigned long voltage)
#else
-static unsigned long kbase_get_static_power(unsigned long voltage)
+static unsigned long kbase_get_static_power(struct devfreq *df,
+ unsigned long voltage)
#endif
{
struct kbase_ipa_model *model;
@@ -492,7 +493,8 @@ static unsigned long kbase_get_dynamic_power(struct devfreq *df,
unsigned long freq,
unsigned long voltage)
#else
-static unsigned long kbase_get_dynamic_power(unsigned long freq,
+static unsigned long kbase_get_dynamic_power(struct devfreq *df,
+ unsigned long freq,
unsigned long voltage)
#endif
{