mirror of https://github.com/OpenIPC/firmware.git
15 lines
519 B
Diff
15 lines
519 B
Diff
diff -drupN a/include/linux/pm_opp.h b/include/linux/pm_opp.h
|
|
--- a/include/linux/pm_opp.h 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/include/linux/pm_opp.h 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -31,6 +31,10 @@ unsigned long dev_pm_opp_get_voltage(str
|
|
|
|
unsigned long dev_pm_opp_get_freq(struct dev_pm_opp *opp);
|
|
|
|
+#ifdef CONFIG_ARM_SUNXI_AVS
|
|
+unsigned long dev_pm_opp_get_pval(struct dev_pm_opp *opp);
|
|
+#endif
|
|
+
|
|
bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp);
|
|
|
|
int dev_pm_opp_get_opp_count(struct device *dev);
|