AMD IOMMU: save pci_dev instead of devid
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 8 Sep 2008 13:55:10 +0000 (15:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 10:59:13 +0000 (12:59 +0200)
commit3eaf28a1cd2686aaa185b54d5a5e18e91b41f7f2
tree8635314b3369734431435fb735979435a06329a2
parentee893c24edb8ebab9a3fb66566855572579ad616
AMD IOMMU: save pci_dev instead of devid

We need the pci_dev later anyways to enable MSI for the IOMMU hardware.
So remove the devid pointing to the BDF and replace it with the pci_dev
structure where the IOMMU is implemented.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu_init.c
include/asm-x86/amd_iommu_types.h