diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-06-09 19:25:50 +0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-06-14 14:49:58 +0400 |
commit | ec9e79ef062272a119994c4fdd5e434f3e1bf352 (patch) | |
tree | 1e691ff950898c6765d0b3cfa2e199a145059aeb /arch/x86/include | |
parent | 6c542047937ad66db1d31e290fd2a3b290424ffa (diff) | |
download | linux-ec9e79ef062272a119994c4fdd5e434f3e1bf352.tar.xz |
x86/amd-iommu: Use only dev_data in low-level domain attach/detach functions
With this patch the low-level attach/detach functions only
work on dev_data structures. This allows to remove the
dev_data->dev pointer.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/amd_iommu_types.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h index 9fc045ee2fcb..fffbe3c9e6c2 100644 --- a/arch/x86/include/asm/amd_iommu_types.h +++ b/arch/x86/include/asm/amd_iommu_types.h @@ -311,7 +311,6 @@ struct protection_domain { struct iommu_dev_data { struct list_head list; /* For domain->dev_list */ struct list_head dev_data_list; /* For global dev_data_list */ - struct device *dev; /* Device this data belong to */ struct device *alias; /* The Alias Device */ struct protection_domain *domain; /* Domain the device is bound to */ atomic_t bind; /* Domain attach reverent count */ |