x86/amd-iommu: Use only dev_data in low-level domain attach/detach functions
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 9 Jun 2011 15:25:50 +0000 (17:25 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 14 Jun 2011 10:49:58 +0000 (12:49 +0200)
commitec9e79ef062272a119994c4fdd5e434f3e1bf352
tree1e691ff950898c6765d0b3cfa2e199a145059aeb
parent6c542047937ad66db1d31e290fd2a3b290424ffa
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>
arch/x86/include/asm/amd_iommu_types.h
arch/x86/kernel/amd_iommu.c