From: Rahul Rameshbabu Date: Sun, 14 Sep 2025 03:18:34 +0000 (+0000) Subject: rust: pci: fix incorrect platform reference in PCI driver probe doc comment X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=855318e7c0c4a3e3014c0469dd5bc93a1c0df30c;p=thirdparty%2Fkernel%2Fstable.git rust: pci: fix incorrect platform reference in PCI driver probe doc comment Substitute 'platform' with 'pci'. Fixes: 1bd8b6b2c5d3 ("rust: pci: add basic PCI device / driver abstractions") Cc: stable@kernel.org Signed-off-by: Rahul Rameshbabu Signed-off-by: Danilo Krummrich --- diff --git a/rust/kernel/pci.rs b/rust/kernel/pci.rs index b80e132169601..7fcc5f6022c19 100644 --- a/rust/kernel/pci.rs +++ b/rust/kernel/pci.rs @@ -270,8 +270,8 @@ pub trait Driver: Send { /// PCI driver probe. /// - /// Called when a new platform device is added or discovered. - /// Implementers should attempt to initialize the device here. + /// Called when a new pci device is added or discovered. Implementers should + /// attempt to initialize the device here. fn probe(dev: &Device, id_info: &Self::IdInfo) -> Result>>; /// PCI driver unbind.