|
@@ -436,7 +436,8 @@ static int exynos_bus_probe(struct platform_device *pdev)
|
|
ondemand_data->downdifferential = 5;
|
|
ondemand_data->downdifferential = 5;
|
|
|
|
|
|
/* Add devfreq device to monitor and handle the exynos bus */
|
|
/* Add devfreq device to monitor and handle the exynos bus */
|
|
- bus->devfreq = devm_devfreq_add_device(dev, profile, "simple_ondemand",
|
|
|
|
|
|
+ bus->devfreq = devm_devfreq_add_device(dev, profile,
|
|
|
|
+ DEVFREQ_GOV_SIMPLE_ONDEMAND,
|
|
ondemand_data);
|
|
ondemand_data);
|
|
if (IS_ERR(bus->devfreq)) {
|
|
if (IS_ERR(bus->devfreq)) {
|
|
dev_err(dev, "failed to add devfreq device\n");
|
|
dev_err(dev, "failed to add devfreq device\n");
|
|
@@ -488,7 +489,7 @@ passive:
|
|
passive_data->parent = parent_devfreq;
|
|
passive_data->parent = parent_devfreq;
|
|
|
|
|
|
/* Add devfreq device for exynos bus with passive governor */
|
|
/* Add devfreq device for exynos bus with passive governor */
|
|
- bus->devfreq = devm_devfreq_add_device(dev, profile, "passive",
|
|
|
|
|
|
+ bus->devfreq = devm_devfreq_add_device(dev, profile, DEVFREQ_GOV_PASSIVE,
|
|
passive_data);
|
|
passive_data);
|
|
if (IS_ERR(bus->devfreq)) {
|
|
if (IS_ERR(bus->devfreq)) {
|
|
dev_err(dev,
|
|
dev_err(dev,
|