diff options
| author | Danilo Krummrich <[email protected]> | 2025-04-14 13:18:08 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-04-19 12:24:05 +0000 |
| commit | 96609a1969f4ade45351ec368c65580c77592e8b (patch) | |
| tree | 9481dbfe31579a5a7045d106b0f52bc73b69dd85 /samples/rust/rust_driver_pci.rs | |
| parent | rust: auxiliary: add auxiliary registration (diff) | |
| download | kernel-96609a1969f4ade45351ec368c65580c77592e8b.tar.gz kernel-96609a1969f4ade45351ec368c65580c77592e8b.zip | |
samples: rust: add Rust auxiliary driver sample
Add a sample Rust auxiliary driver based on a PCI driver for QEMU's
"pci-testdev" device.
The PCI driver only registers an auxiliary device, in order to make the
corresponding auxiliary driver probe.
Acked-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Use `ok_or()` when accessing auxiliary::Device::parent(). - Danilo ]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_pci.rs')
0 files changed, 0 insertions, 0 deletions
