projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d08fa1a
)
[PATCH] PCI: arch: pci_find_device remove (frv/mb93090-mb00/pci-irq.c)
author
Jiri Slaby
<jirislaby@gmail.com>
Mon, 7 Nov 2005 07:39:33 +0000
(23:39 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 9 Jan 2006 20:13:15 +0000
(12:13 -0800)
Signed-off-by: Jiri Slaby <xslaby@fi.muni.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/frv/mb93090-mb00/pci-irq.c
patch
|
blob
|
history
diff --git
a/arch/frv/mb93090-mb00/pci-irq.c
b/arch/frv/mb93090-mb00/pci-irq.c
index 24622d89b1ca4d01c6257943eea7e9a877c22708..c4a1144c98b0e58db1e5b31d002d0c1caef65ffb 100644
(file)
--- a/
arch/frv/mb93090-mb00/pci-irq.c
+++ b/
arch/frv/mb93090-mb00/pci-irq.c
@@
-48,9
+48,7
@@
void __init pcibios_fixup_irqs(void)
struct pci_dev *dev = NULL;
uint8_t line, pin;
- while (dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev),
- dev != NULL
- ) {
+ for_each_pci_dev(dev) {
pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
if (pin) {
dev->irq = pci_bus0_irq_routing[PCI_SLOT(dev->devfn)][pin - 1];