aboutsummaryrefslogtreecommitdiffstats
path: root/samples/rust/rust_driver_platform.rs
diff options
context:
space:
mode:
authorIgor Korotin <[email protected]>2025-06-20 15:43:34 +0000
committerDanilo Krummrich <[email protected]>2025-06-26 21:26:15 +0000
commit8411e6f06a022679a642c236724944057b90e60e (patch)
tree85448639c13da89f0d8c91c70ed5c3a217a8b3b4 /samples/rust/rust_driver_platform.rs
parentrust: platform: Set `OF_ID_TABLE` default to `None` in `Driver` trait (diff)
downloadkernel-8411e6f06a022679a642c236724944057b90e60e.tar.gz
kernel-8411e6f06a022679a642c236724944057b90e60e.zip
rust: platform: Add ACPI match table support to `Driver` trait
Extend the `platform::Driver` trait to support ACPI device matching by adding the `ACPI_ID_TABLE` constant. This allows Rust platform drivers to define ACPI match tables alongside their existing OF match tables. These changes mirror the existing OF support and allow Rust platform drivers to match devices based on ACPI identifiers. Signed-off-by: Igor Korotin <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Use 'LNUXBEEF' as ACPI ID. - Danilo ] Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions