rust: of: add `of::DeviceId` abstraction
authorDanilo Krummrich <dakr@kernel.org>
Thu, 19 Dec 2024 17:04:14 +0000 (18:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2024 16:21:04 +0000 (17:21 +0100)
commitbbe3b4d1580dac8ea0e1451e38d1be9590a89ddc
treec4b0c19194b560d14cb1551563e120a9ce16bee2
parent685376d18e9ae2f08ab6ac36285dc3a949c8cb77
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.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Tested-by: Dirk Behme <dirk.behme@de.bosch.com>
Tested-by: Fabien Parent <fabien.parent@linaro.org>
Link: https://lore.kernel.org/r/20241219170425.12036-13-dakr@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MAINTAINERS
rust/kernel/lib.rs
rust/kernel/of.rs [new file with mode: 0644]