summaryrefslogtreecommitdiff
path: root/rust/bindings
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2023-12-18 11:15:13 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2025-05-20 10:04:06 +0530
commit8f835497b32b59c0ba8b5e1805b7e89dd38cd9f9 (patch)
tree28ce99d01da3601f148a0d7bad67d04412e270d9 /rust/bindings
parent3accb57d56a9bcf1cab1e908e88a235e899a2e82 (diff)
rust: opp: Add initial abstractions for OPP framework
Introduce initial Rust abstractions for the Operating Performance Points (OPP) framework. This includes bindings for `struct dev_pm_opp` and `struct dev_pm_opp_data`, laying the groundwork for further OPP integration. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'rust/bindings')
-rw-r--r--rust/bindings/bindings_helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
index ac92c67d2c38..529f22891e0b 100644
--- a/rust/bindings/bindings_helper.h
+++ b/rust/bindings/bindings_helper.h
@@ -30,6 +30,7 @@
#include <linux/phy.h>
#include <linux/pid_namespace.h>
#include <linux/platform_device.h>
+#include <linux/pm_opp.h>
#include <linux/poll.h>
#include <linux/property.h>
#include <linux/refcount.h>