Commit d1bbf38a authored by Bjorn Helgaas's avatar Bjorn Helgaas

PCI: Fix typos and whitespace errors

Fix typos in drivers/pci.  Comment and whitespace changes only.

Link: https://lore.kernel.org/r/20190819115306.27338-1-kw@linux.comSigned-off-by: default avatarKrzysztof Wilczynski <kw@linux.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>	# armada8k
parent 5f9e832c
...@@ -50,7 +50,7 @@ Additional required properties for imx7d-pcie and imx8mq-pcie: ...@@ -50,7 +50,7 @@ Additional required properties for imx7d-pcie and imx8mq-pcie:
- power-domains: Must be set to a phandle pointing to PCIE_PHY power domain - power-domains: Must be set to a phandle pointing to PCIE_PHY power domain
- resets: Must contain phandles to PCIe-related reset lines exposed by SRC - resets: Must contain phandles to PCIe-related reset lines exposed by SRC
IP block IP block
- reset-names: Must contain the following entires: - reset-names: Must contain the following entries:
- "pciephy" - "pciephy"
- "apps" - "apps"
- "turnoff" - "turnoff"
......
...@@ -11,7 +11,7 @@ Required properties: ...@@ -11,7 +11,7 @@ Required properties:
- reg-names: - reg-names:
- "ctrl" for the control register region - "ctrl" for the control register region
- "config" for the config space region - "config" for the config space region
- interrupts: Interrupt specifier for the PCIe controler - interrupts: Interrupt specifier for the PCIe controller
- clocks: reference to the PCIe controller clocks - clocks: reference to the PCIe controller clocks
- clock-names: mandatory if there is a second clock, in this case the - clock-names: mandatory if there is a second clock, in this case the
name must be "core" for the first clock and "reg" for the second name must be "core" for the first clock and "reg" for the second
......
...@@ -170,7 +170,7 @@ config PCI_P2PDMA ...@@ -170,7 +170,7 @@ config PCI_P2PDMA
Many PCIe root complexes do not support P2P transactions and Many PCIe root complexes do not support P2P transactions and
it's hard to tell which support it at all, so at this time, it's hard to tell which support it at all, so at this time,
P2P DMA transations must be between devices behind the same root P2P DMA transactions must be between devices behind the same root
port. port.
If unsure, say N. If unsure, say N.
......
...@@ -409,7 +409,6 @@ void pci_restore_vc_state(struct pci_dev *dev) ...@@ -409,7 +409,6 @@ void pci_restore_vc_state(struct pci_dev *dev)
* For each type of VC capability, VC/VC9/MFVC, find the capability, size * For each type of VC capability, VC/VC9/MFVC, find the capability, size
* it, and allocate a buffer for save/restore. * it, and allocate a buffer for save/restore.
*/ */
void pci_allocate_vc_save_buffers(struct pci_dev *dev) void pci_allocate_vc_save_buffers(struct pci_dev *dev)
{ {
int i; int i;
......
...@@ -969,7 +969,7 @@ resource_size_t pcibios_align_resource(void *, const struct resource *, ...@@ -969,7 +969,7 @@ resource_size_t pcibios_align_resource(void *, const struct resource *,
resource_size_t, resource_size_t,
resource_size_t); resource_size_t);
/* Weak but can be overriden by arch */ /* Weak but can be overridden by arch */
void pci_fixup_cardbus(struct pci_bus *); void pci_fixup_cardbus(struct pci_bus *);
/* Generic PCI functions used internally */ /* Generic PCI functions used internally */
...@@ -1801,7 +1801,7 @@ static inline int pci_ats_page_aligned(struct pci_dev *dev) { return 0; } ...@@ -1801,7 +1801,7 @@ static inline int pci_ats_page_aligned(struct pci_dev *dev) { return 0; }
#include <asm/pci.h> #include <asm/pci.h>
/* These two functions provide almost identical functionality. Depennding /* These two functions provide almost identical functionality. Depending
* on the architecture, one will be implemented as a wrapper around the * on the architecture, one will be implemented as a wrapper around the
* other (in drivers/pci/mmap.c). * other (in drivers/pci/mmap.c).
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment