mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
rust: pci: fix incorrect platform reference in PCI driver probe doc comment
commit855318e7c0upstream. Substitute 'platform' with 'pci'. Fixes:1bd8b6b2c5("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
76d0bcc500
commit
fbde4bffb0
@@ -238,8 +238,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<device::Core>, id_info: &Self::IdInfo) -> Result<Pin<KBox<Self>>>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user