Skip to contentSkip to conversation

PCI: Documentation: fix minor PCIe HOWTO thinko

PATCH Applied Alex Chiang 2 participants 2 messages Feb 13, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: Documentation: fix minor PCIe HOWTO thinko

Update doc to correctly refer to replacing the pci_register_driver API, and not the non-existent "pci_module_init" API.

---

Documentation/PCI/PCIEBUS-HOWTO.txt +1 -1
index 9a07e38..6bd5f37 100644
@@ -93,7 +93,7 @@ the PCI Express Port Bus driver from loading a service driver.
 
 int pcie_port_service_register(struct pcie_port_service_driver *new)
 
-This API replaces the Linux Driver Model's pci_module_init API. A
+This API replaces the Linux Driver Model's pci_register_driver API. A
 service driver should always calls pcie_port_service_register at
 module init. Note that after service driver being loaded, calls
 such as pci_enable_device(dev) and pci_set_master(dev) are no longer
Applied
#1 lore raw
Quoted 4 lines · Alex Chiang

Update doc to correctly refer to replacing the pci_register_driver API, and not the non-existent "pci_module_init" API.

Applied to linux-next (though I should just pull it over to for-linus, will do), thanks.

Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center