diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2026-01-07 11:35:02 +0100 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-01-16 01:16:44 +0100 |
| commit | 0af1a9e4629a85964a7eebe58ebd2ca37c8c21fc (patch) | |
| tree | 1e29b5527f924d339ccb5ffaa3416c8f80f51037 /include/linux | |
| parent | 5f4476e98387618ce22bb93fb5c11142827458ec (diff) | |
rust: driver: introduce a DriverLayout trait
The DriverLayout trait describes the layout of a specific driver
structure, such as `struct pci_driver` or `struct platform_driver`.
In a first step, this replaces the associated type RegType of the
RegistrationOps with the DriverLayout::DriverType associated type.
Acked-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Igor Korotin <igor.korotin.linux@gmail.com>
Link: https://patch.msgid.link/20260107103511.570525-4-dakr@kernel.org
[ Rename driver::Driver to driver::DriverLayout, as it represents the
layout of a driver structure rather than the driver structure itself.
- Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
