diff --git a/target/linux/generic/pending-6.18/802-OPP-Provide-old-opp-to-config_clks-on-_set_opp.patch b/target/linux/generic/pending-6.18/802-OPP-Provide-old-opp-to-config_clks-on-_set_opp.patch index d645c14eaa..9487be162c 100644 --- a/target/linux/generic/pending-6.18/802-OPP-Provide-old-opp-to-config_clks-on-_set_opp.patch +++ b/target/linux/generic/pending-6.18/802-OPP-Provide-old-opp-to-config_clks-on-_set_opp.patch @@ -132,3 +132,15 @@ Signed-off-by: Christian Marangi /** * ufshcd_set_variant - set variant specific data to the hba * @hba: per adapter instance +--- a/drivers/cpufreq/airoha-cpufreq.c ++++ b/drivers/cpufreq/airoha-cpufreq.c +@@ -21,7 +21,8 @@ static struct platform_device *cpufreq_p + /* NOP function to disable OPP from setting clock */ + static int airoha_cpufreq_config_clks_nop(struct device *dev, + struct opp_table *opp_table, +- struct dev_pm_opp *opp, ++ struct dev_pm_opp *old_opp, ++ struct dev_pm_opp *new_opp, + void *data, bool scaling_down) + { + return 0;