diff options
author | Danilo Krummrich <dakr@kernel.org> | 2024-10-21 14:39:25 +0200 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-10-22 22:55:10 +0200 |
commit | be265f0070ed69b5bdd41886def7e91e4279ff7e (patch) | |
tree | 2cdb2b9840dbfcece65fd59cbb5e968593899d29 /rust/bindings/bindings_helper.h | |
parent | c13795fe4557999937eba6854f92761cfba8446f (diff) |
rust: of: add `of::DeviceId` abstraction
`of::DeviceId` is an abstraction around `struct of_device_id`.
This is used by subsequent patches, in particular the platform bus
abstractions, to create OF device ID tables.
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/bindings/bindings_helper.h')
-rw-r--r-- | rust/bindings/bindings_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h index cd4edd6496ae..312f03cbdce9 100644 --- a/rust/bindings/bindings_helper.h +++ b/rust/bindings/bindings_helper.h @@ -15,6 +15,7 @@ #include <linux/firmware.h> #include <linux/jiffies.h> #include <linux/mdio.h> +#include <linux/of_device.h> #include <linux/pci.h> #include <linux/phy.h> #include <linux/refcount.h> |