Skip to content

Commit 855318e

Browse files
Binary-EaterDanilo Krummrich
authored andcommitted
rust: pci: fix incorrect platform reference in PCI driver probe doc comment
Substitute 'platform' with 'pci'. Fixes: 1bd8b6b ("rust: pci: add basic PCI device / driver abstractions") Cc: stable@kernel.org Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
1 parent a404d09 commit 855318e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rust/kernel/pci.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ pub trait Driver: Send {
270270

271271
/// PCI driver probe.
272272
///
273-
/// Called when a new platform device is added or discovered.
274-
/// Implementers should attempt to initialize the device here.
273+
/// Called when a new pci device is added or discovered. Implementers should
274+
/// attempt to initialize the device here.
275275
fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> Result<Pin<KBox<Self>>>;
276276

277277
/// PCI driver unbind.

0 commit comments

Comments
 (0)