projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pci-v6.4-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci
[linux-block.git]
/
drivers
/
pci
/
of.c
diff --git
a/drivers/pci/of.c
b/drivers/pci/of.c
index 4c2ef2e28fb5e9030a0e8ed41d2bcd883a00c16c..2c25f4fa0225aeed064b7c103ee0f7c7b801011b 100644
(file)
--- a/
drivers/pci/of.c
+++ b/
drivers/pci/of.c
@@
-465,7
+465,7
@@
static int of_irq_parse_pci(const struct pci_dev *pdev, struct of_phandle_args *
return -ENODEV;
/* Local interrupt-map in the device node? Use it! */
- if (of_
get_property(dn, "interrupt-map", NULL
)) {
+ if (of_
property_present(dn, "interrupt-map"
)) {
pin = pci_swizzle_interrupt_pin(pdev, pin);
ppnode = dn;
}