summaryrefslogtreecommitdiff
path: root/samples/rust/rust_pci_driver/mod.rs
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2024-08-23 02:52:16 +0200
committerDanilo Krummrich <dakr@kernel.org>2024-08-23 02:55:45 +0200
commitc24e57ccf49ffb6bfe9074f0a1a8b689dd1aff14 (patch)
treee6d813ea0d09d586637036915c51d07573f1fa68 /samples/rust/rust_pci_driver/mod.rs
parent8b71d5eeb966858a05d639b9266f4422dc3a5647 (diff)
rust: pci: support driver data for `DeviceId`
Add support for PCI drivers to link driver specific data to the device `IdTable`. This can easily be generalized by substituting the `bindings::pci_device_id` type with a generic type. Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'samples/rust/rust_pci_driver/mod.rs')
0 files changed, 0 insertions, 0 deletions