PCI: designware: Add a blank line after declarations
PATCH 1/1 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 <[email protected]>
--- drivers/pci/host/pcie-designware.c | 1 + 1 file changed, 1 insertion(+)
drivers/pci/host/pcie-designware.c +1 -0
@@ -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" ;
Signature · 1 line
1.7.9.5
Quoted 5 lines · Jingoo Han
This patch fixes the following checkpatch warning.
WARNING: Missing a blank line after declarations
Signed-off-by Jingoo Han <[email protected]>
Applied to pci/host-designware for v3.19, thanks!
Quoted 20 lines
--- drivers/pci/host/pcie-designware.c | 1 + 1 file changed, 1 insertion(+)drivers/pci/host/pcie-designware.c +1
-0@@ -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" ;Signature · 1 line
1.7.9.5