diff options
author | Hanna V. Linder <hannal@us.ibm.com> | 2005-01-11 00:11:40 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-01-11 00:11:40 -0800 |
commit | 4783ee041016155a71f61f97699c8ebc5cdb6236 (patch) | |
tree | 3fb835bae1f067923eea5e98203fe3edcef4123b /arch | |
parent | d40e211ffbd751b51b97be6c7b5fa18eaa2031dc (diff) | |
download | history-4783ee041016155a71f61f97699c8ebc5cdb6236.tar.gz |
[IA64] sba_iommu.c: pci_find_device is going away
Here is the reroll of the sba_iommu.c patch to use for_each_pci_dev.
Signed-off-by: Hanna Linder <hannal@us.ibm.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/hp/common/sba_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c index 472d376b4f060c..272291d6073c01 100644 --- a/arch/ia64/hp/common/sba_iommu.c +++ b/arch/ia64/hp/common/sba_iommu.c @@ -1557,7 +1557,7 @@ ioc_iova_init(struct ioc *ioc) ** We program the next pdir index after we stop w/ a key for ** the GART code to handshake on. */ - while ((device = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, device)) != NULL) + for_each_pci_dev(device) agp_found |= pci_find_capability(device, PCI_CAP_ID_AGP); if (agp_found && reserve_sba_gart) { |