summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-09-25 08:56:14 -0600
committerBin Meng <bmeng.cn@gmail.com>2019-10-08 13:57:42 +0800
commitbdaa976153b29c88822e6c196e48f6ad2f881846 (patch)
tree41dacb0298ac50bdf9daed72d8f0ce04b5902bf0
parent90c668605fa81ab5046a8b05c7a1fa858811d4bf (diff)
pci: Correct 'specifified' and 'Plese' typos
Fix these spelling errors the header file and documentation. Fix a small typo in the PCI documentation. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--doc/driver-model/pci-info.rst2
-rw-r--r--include/pci.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/driver-model/pci-info.rst b/doc/driver-model/pci-info.rst
index f39ff990a67..3c1b1adf077 100644
--- a/doc/driver-model/pci-info.rst
+++ b/doc/driver-model/pci-info.rst
@@ -103,7 +103,7 @@ in each of these nodes.
If PCI devices are not listed in the device tree, U_BOOT_PCI_DEVICE can be used
to specify the driver to use for the device. The device tree takes precedence
-over U_BOOT_PCI_DEVICE. Plese note with U_BOOT_PCI_DEVICE, only drivers with
+over U_BOOT_PCI_DEVICE. Please note with U_BOOT_PCI_DEVICE, only drivers with
DM_FLAG_PRE_RELOC will be bound before relocation. If neither device tree nor
U_BOOT_PCI_DEVICE is provided, the built-in driver (either pci_bridge_drv or
pci_generic_drv) will be used.
diff --git a/include/pci.h b/include/pci.h
index 2b82b2c5a3e..8aa6636cfbf 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -1595,7 +1595,7 @@ int sandbox_pci_get_emul(struct udevice *bus, pci_dev_t find_devfn,
/**
* pci_get_devfn() - Extract the devfn from fdt_pci_addr of the device
*
- * Get devfn from fdt_pci_addr of the specifified device
+ * Get devfn from fdt_pci_addr of the specified device
*
* @dev: PCI device
* @return devfn in bits 15...8 if found, -ENODEV if not found