projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f114040
)
PCI: designware: Add a blank line after declarations
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 12 Nov 2014 03:27:04 +0000
(12:27 +0900)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 13 Nov 2014 17:52:04 +0000
(10:52 -0700)
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>
drivers/pci/host/pcie-designware.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pcie-designware.c
b/drivers/pci/host/pcie-designware.c
index dfed00aa3ac039c76548bba9eea7eb0a2e6c8fbc..f9be37139429859394041bee7d2da96bfea434ab 100644
(file)
--- 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";