summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-04-14 15:18:08 +0200
committerDanilo Krummrich <dakr@kernel.org>2025-04-19 14:24:05 +0200
commit96609a1969f4ade45351ec368c65580c77592e8b (patch)
tree9481dbfe31579a5a7045d106b0f52bc73b69dd85 /rust/kernel
parent0d1803d25f8c7586beb3843c8efbb83f24ce2539 (diff)
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')
0 files changed, 0 insertions, 0 deletions