Browse Source

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>
Jingoo Han 10 years ago
parent
commit
cf3a9d6bae
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/pci/host/pci-mvebu.c

+ 2 - 0
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++) {
 	for (i = 0; i < pcie->nports; i++) {
 		struct mvebu_pcie_port *port = &pcie->ports[i];
 		struct mvebu_pcie_port *port = &pcie->ports[i];
+
 		if (bus->number == 0 && port->devfn == devfn)
 		if (bus->number == 0 && port->devfn == devfn)
 			return port;
 			return port;
 		if (bus->number != 0 &&
 		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++) {
 	for (i = 0; i < pcie->nports; i++) {
 		struct mvebu_pcie_port *port = &pcie->ports[i];
 		struct mvebu_pcie_port *port = &pcie->ports[i];
+
 		if (!port->base)
 		if (!port->base)
 			continue;
 			continue;
 		mvebu_pcie_setup_hw(port);
 		mvebu_pcie_setup_hw(port);