Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

authored by

Alex Chiang and committed by
Jesse Barnes
a08f6e04 f5ddcac4

+1 -1
+1 -1
Documentation/PCI/PCIEBUS-HOWTO.txt
··· 93 93 94 94 int pcie_port_service_register(struct pcie_port_service_driver *new) 95 95 96 - This API replaces the Linux Driver Model's pci_module_init API. A 96 + This API replaces the Linux Driver Model's pci_register_driver API. A 97 97 service driver should always calls pcie_port_service_register at 98 98 module init. Note that after service driver being loaded, calls 99 99 such as pci_enable_device(dev) and pci_set_master(dev) are no longer