pci_iommu.c replace pci_find_device with pci_get_device
As pci_find_device is going away I've replaced it with pci_get_device. If someone with a Sparc64 system could test it I would appreciate it. Thanks.
Hanna Linder
IBM Linux Technology Center
Signed-off-by Hanna Linder <[email protected]>
---
arch/sparc64/kernel/pci_iommu.c +2 -1
@@ -814,7 +814,7 @@ static void ali_sound_dma_hack(struct pc/* ALI sound chips generate 31-bits of DMA, a special register * determines what bit 31 is emitted as. */ - ali_isa_bridge =pci_find_device (PCI_VENDOR_ID_AL , + ali_isa_bridge =pci_get_device (PCI_VENDOR_ID_AL ,PCI_DEVICE_ID_AL_M1533 ,NULL );
@@ -824,6 +824,7 @@ static void ali_sound_dma_hack(struct pcelse val &= ~0x01 ;pci_write_config_byte (ali_isa_bridge,0x7e , val); +pci_dev_put (ali_isa_bridge); }int pci_dma_supported (struct pci_dev *pdev,u64 device_mask)
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors