RK3328 DMC driver needs small (hopefully) update for kernel 5.10

Description

c0rnelius on IRC brought up a compile-time issue on RK3328:

drivers/devfreq/rk3328_dmc.c: In function ‘rk3328_dmcfreq_probe’:
drivers/devfreq/rk3328_dmc.c:751:15: error: too few arguments to function ‘devfreq_event_get_edev_by_phandle’
data->edev = devfreq_event_get_edev_by_phandle(dev, 0);

I found this commit adding a phandle to the prototype of the function: https://github.com/torvalds/linux/commit/02bdbf7d09c059b16047e3d4a05e6d584dd993b6

I only added Piotr since he might be more familiar with the code.

Environment

None

Activity

Show:
Piotr Szczepanik
December 16, 2020, 7:24 AM

I believe this was fixed for dev branch here:

It will trickle into current with the kernel switch.

Assignee

Piotr Szczepanik

Reporter

Tony McKahan

Labels

Components

Priority

Medium