]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/amd_iommu_types.h
AMD IOMMU: save pci_dev instead of devid
[linux-2.6-omap-h63xx.git] / include / asm-x86 / amd_iommu_types.h
index 20814b85bbc3fdccdbcbe5d18a76bc20bd249003..a5629a21557cdcd212bd27347bc31b8a8aa9fede 100644 (file)
@@ -215,8 +215,9 @@ struct amd_iommu {
        /* locks the accesses to the hardware */
        spinlock_t lock;
 
-       /* device id of this IOMMU */
-       u16 devid;
+       /* Pointer to PCI device of this IOMMU */
+       struct pci_dev *dev;
+
        /*
         * Capability pointer. There could be more than one IOMMU per PCI
         * device function if there are more than one AMD IOMMU capability