summaryrefslogtreecommitdiff
path: root/drivers/devfreq/rk3399_dmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/devfreq/rk3399_dmc.c')
-rw-r--r--drivers/devfreq/rk3399_dmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c
index 1b89ebbad02c..5dfbfa3cc878 100644
--- a/drivers/devfreq/rk3399_dmc.c
+++ b/drivers/devfreq/rk3399_dmc.c
@@ -431,7 +431,7 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev)
data->devfreq = devm_devfreq_add_device(dev,
&rk3399_devfreq_dmc_profile,
- "simple_ondemand",
+ DEVFREQ_GOV_SIMPLE_ONDEMAND,
&data->ondemand_data);
if (IS_ERR(data->devfreq))
return PTR_ERR(data->devfreq);