]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
AMD IOMMU: use dev_name in iommu_enable function
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 10 Dec 2008 19:04:18 +0000 (20:04 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Sat, 3 Jan 2009 13:11:57 +0000 (14:11 +0100)
Impact: cleanup

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu_init.c

index 47e163b4431e92906f32c002887dafbe481341c5..be81f6125c51cdc3b6cb293e7411d245290c60ce 100644 (file)
@@ -246,12 +246,8 @@ static void __init iommu_feature_disable(struct amd_iommu *iommu, u8 bit)
 /* Function to enable the hardware */
 void __init iommu_enable(struct amd_iommu *iommu)
 {
-       printk(KERN_INFO "AMD IOMMU: Enabling IOMMU "
-              "at %02x:%02x.%x cap 0x%hx\n",
-              iommu->dev->bus->number,
-              PCI_SLOT(iommu->dev->devfn),
-              PCI_FUNC(iommu->dev->devfn),
-              iommu->cap_ptr);
+       printk(KERN_INFO "AMD IOMMU: Enabling IOMMU at %s cap 0x%hx\n",
+              dev_name(&iommu->dev->dev), iommu->cap_ptr);
 
        iommu_feature_enable(iommu, CONTROL_IOMMU_EN);
 }