aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/amd_iommu_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/amd_iommu_types.h')
-rw-r--r--include/asm-x86/amd_iommu_types.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-x86/amd_iommu_types.h b/include/asm-x86/amd_iommu_types.h
index 20814b85bbc..a5629a21557 100644
--- a/include/asm-x86/amd_iommu_types.h
+++ b/include/asm-x86/amd_iommu_types.h
@@ -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