summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pcie-designware.c
diff options
context:
space:
mode:
authorJingoo Han2014-11-12 04:27:04 +0100
committerBjorn Helgaas2014-11-13 18:52:04 +0100
commit2c992f3779e699a0f03dbfa39fcd96efee422bbe (patch)
treea3af5a2e6af77da38f3d33aee44893b63b963daa /drivers/pci/host/pcie-designware.c
parentLinux 3.18-rc1 (diff)
downloadkernel-qcow2-linux-2c992f3779e699a0f03dbfa39fcd96efee422bbe.tar.gz
kernel-qcow2-linux-2c992f3779e699a0f03dbfa39fcd96efee422bbe.tar.xz
kernel-qcow2-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>
Diffstat (limited to 'drivers/pci/host/pcie-designware.c')
-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";