diff options
| author | 2025-04-14 15:18:08 +0200 | |
|---|---|---|
| committer | 2025-04-19 14:24:05 +0200 | |
| commit | 96609a1969f4ade45351ec368c65580c77592e8b (patch) | |
| tree | 9481dbfe31579a5a7045d106b0f52bc73b69dd85 /rust/kernel/revocable.rs | |
| parent | rust: auxiliary: add auxiliary registration (diff) | |
| download | wireguard-linux-96609a1969f4ade45351ec368c65580c77592e8b.tar.xz wireguard-linux-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 <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250414131934.28418-6-dakr@kernel.org
[ Use `ok_or()` when accessing auxiliary::Device::parent(). - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/revocable.rs')
0 files changed, 0 insertions, 0 deletions
