Skip to content

Commit

Permalink
[PATCH] PCI: arch: pci_find_device remove (frv/mb93090-mb00/pci-irq.c)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Jan 9, 2006
1 parent d08fa1a commit 3c94792
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/frv/mb93090-mb00/pci-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 3c94792

Please sign in to comment.