Commit 8411e6f0 authored by Igor Korotin's avatar Igor Korotin Committed by Danilo Krummrich
Browse files

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: default avatarIgor Korotin <igor.korotin.linux@gmail.com>
Link: https://lore.kernel.org/r/20250620154334.298320-1-igor.korotin.linux@gmail.com


[ Use 'LNUXBEEF' as ACPI ID. - Danilo ]
Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
parent ec3ef217
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment