diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2008-12-10 13:43:07 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-01-03 08:11:56 -0500 |
commit | ab896722867602eb0e836717e8b857ad513800d8 (patch) | |
tree | 7d7b454aa3612e00f206ea6970e7213e9900d833 /arch/x86/kernel/amd_iommu.c | |
parent | 1ac4cbbc5eb56de96d264d10f464ba5222815b1b (diff) |
AMD IOMMU: use dev_name instead of self-build print_devid
Impact: use generic dev_name instead of own function
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
-rw-r--r-- | arch/x86/kernel/amd_iommu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index f2260609eadc..a53cf48d3be8 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
@@ -1074,8 +1074,7 @@ static int get_device_resources(struct device *dev, | |||
1074 | *domain = &dma_dom->domain; | 1074 | *domain = &dma_dom->domain; |
1075 | attach_device(*iommu, *domain, *bdf); | 1075 | attach_device(*iommu, *domain, *bdf); |
1076 | printk(KERN_INFO "AMD IOMMU: Using protection domain %d for " | 1076 | printk(KERN_INFO "AMD IOMMU: Using protection domain %d for " |
1077 | "device ", (*domain)->id); | 1077 | "device %s\n", (*domain)->id, dev_name(dev)); |
1078 | print_devid(_bdf, 1); | ||
1079 | } | 1078 | } |
1080 | 1079 | ||
1081 | if (domain_for_device(_bdf) == NULL) | 1080 | if (domain_for_device(_bdf) == NULL) |