diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-11-12 12:27:54 +0900 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-11-13 10:53:02 -0700 |
commit | cf3a9d6bae51e3ff14196a4684c47c234fc34c27 (patch) | |
tree | 1543f7c246809fac4f04fb41bf7bd2fa30fdbe12 | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) | |
download | op-kernel-dev-cf3a9d6bae51e3ff14196a4684c47c234fc34c27.zip op-kernel-dev-cf3a9d6bae51e3ff14196a4684c47c234fc34c27.tar.gz |
PCI: mvebu: Add a blank line after declarations
This patch fixes the following checkpatch warning:
WARNING: Missing a blank line after declarations
[bhelgaas: drop mvebu_pcie_add_bus() change because it's going away anyway]
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r-- | drivers/pci/host/pci-mvebu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index b1315e1..e45f88e 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -622,6 +622,7 @@ static struct mvebu_pcie_port *mvebu_pcie_find_port(struct mvebu_pcie *pcie, for (i = 0; i < pcie->nports; i++) { struct mvebu_pcie_port *port = &pcie->ports[i]; + if (bus->number == 0 && port->devfn == devfn) return port; if (bus->number != 0 && @@ -751,6 +752,7 @@ static int mvebu_pcie_setup(int nr, struct pci_sys_data *sys) for (i = 0; i < pcie->nports; i++) { struct mvebu_pcie_port *port = &pcie->ports[i]; + if (!port->base) continue; mvebu_pcie_setup_hw(port); |