Re: [patch 2/3] Replace pci_find_device with pci_get_device

From: Hanna Linder <hannal_at_us.ibm.com>
Date: 2005-01-11 08:18:42
--On Monday, January 10, 2005 01:09:30 PM -0800 Jesse Barnes <jbarnes@engr.sgi.com> wrote:

> On Monday, January 10, 2005 11:46 am, domen@coderock.org wrote:
>> -  while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL)
>> +  while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL)
>>     acpi_pci_irq_enable(dev);
> 
> Shouldn't this be for_each_pci_dev(dev) acpi_pci_irq_enable(dev); instead?  
> Bjorn?
> 
> Thanks,
> Jesse

Looks to me like it should be as well. I must have missed it when I went through
and did for_each_pci_dev. I can try to make a new patch but it might take a day
or two.

Hanna

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jan 10 21:43:41 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:34 EST