diff options
author | Igor Korotin <igor.korotin.linux@gmail.com> | 2025-06-20 16:24:25 +0100 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-06-26 23:22:17 +0200 |
commit | a74931eb59cf6b914e1b9471d9abd4429176f6af (patch) | |
tree | 785de7ab6e42ea4cea021f5c12bd8237215b8e0c /rust/kernel/platform.rs | |
parent | 9da36b9faed26f634c9f04a0f2cf7625c08f5d65 (diff) |
rust: acpi: add `acpi::DeviceId` abstraction
`acpi::DeviceId` is an abstraction around `struct acpi_device_id`.
Enable drivers to build ACPI device ID tables, to be consumed by the
corresponding bus abstractions, such as platform or I2C.
Signed-off-by: Igor Korotin <igor.korotin.linux@gmail.com>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20250620152425.285683-1-igor.korotin.linux@gmail.com
[ Always inline DeviceId::new() and use &'static CStr; slightly reword
commit message. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/platform.rs')
0 files changed, 0 insertions, 0 deletions