projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13be915
)
ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code
author
Gabor Juhos
<juhosg@openwrt.org>
Wed, 7 Oct 2009 11:37:12 +0000
(11:37 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Wed, 7 Oct 2009 11:37:12 +0000
(11:37 +0000)
SVN-Revision: 17975
target/linux/ramips/files/arch/mips/pci/pci-rt288x.c
patch
|
blob
|
history
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 4360e63657479a864ce7d31c341c0fed14ccc2c3..1c9df5df539d866bd4e91358cfedc9eadcddbd75 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)
- return
0
;
+ return
irq
;
switch (PCI_SLOT(dev->devfn)) {
case 0x00: