summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-11-12 12:27:04 +0900
committerBjorn Helgaas <bhelgaas@google.com>2014-11-13 10:52:04 -0700
commit2c992f3779e699a0f03dbfa39fcd96efee422bbe (patch)
treea3af5a2e6af77da38f3d33aee44893b63b963daa
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadlinux-2c992f3779e699a0f03dbfa39fcd96efee422bbe.tar.gz
linux-2c992f3779e699a0f03dbfa39fcd96efee422bbe.tar.bz2
linux-2c992f3779e699a0f03dbfa39fcd96efee422bbe.zip
PCI: designware: Add a blank line after declarations
This patch fixes the following checkpatch warning: WARNING: Missing a blank line after declarations Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--drivers/pci/host/pcie-designware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
index dfed00aa3ac0..f9be37139429 100644
--- a/drivers/pci/host/pcie-designware.c
+++ b/drivers/pci/host/pcie-designware.c
@@ -380,6 +380,7 @@ int __init dw_pcie_host_init(struct pcie_port *pp)
/* Get the I/O and memory ranges from DT */
for_each_of_pci_range(&parser, &range) {
unsigned long restype = range.flags & IORESOURCE_TYPE_BITS;
+
if (restype == IORESOURCE_IO) {
of_pci_range_to_resource(&range, np, &pp->io);
pp->io.name = "I/O";