Skip to content

Commit

Permalink
PCI: mvebu: Add a blank line after declarations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Bjorn Helgaas committed Nov 13, 2014
1 parent f114040 commit cf3a9d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/pci/host/pci-mvebu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit cf3a9d6

Please sign in to comment.