projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code
[openwrt.git]
/
target
/
linux
/
ramips
/
files
/
arch
/
mips
/
pci
/
pci-rt288x.c
diff --git
a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
index
14b7d42
..
1c9df5d
100644
(file)
--- a/
target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
+++ b/
target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
@@
-192,7
+192,7
@@
int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
int irq = -1;
if (dev->bus->number != 0)
int irq = -1;
if (dev->bus->number != 0)
- return
0
;
+ return
irq
;
switch (PCI_SLOT(dev->devfn)) {
case 0x00:
switch (PCI_SLOT(dev->devfn)) {
case 0x00:
@@
-252,8
+252,4
@@
int pcibios_plat_dev_init(struct pci_dev *dev)
return 0;
}
return 0;
}
-struct pci_fixup pcibios_fixups[] = {
- {0}
-};
-
arch_initcall(rt2880_pci_init);
arch_initcall(rt2880_pci_init);
This page took
0.030304 seconds
and
4
git commands to generate.