aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-08-21 08:42:05 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-01 08:01:48 -0400
commitf9902f24fc2d6bcc836622aa70e77f7f9dfb30a9 (patch)
treee7546ed6d23b6d499c6d93538c7b0c99b7389b8f /drivers/edac
parent45f74482a05df8aa9253ec0b228648cbad3dd7e8 (diff)
i7core_edac: use edac's own way to print errors
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/i7core_edac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 0bddc27362c1..304f550ed8d4 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -2068,7 +2068,8 @@ static void i7core_pci_ctl_create(struct i7core_pvt *pvt)
2068 &pvt->i7core_dev->pdev[0]->dev, 2068 &pvt->i7core_dev->pdev[0]->dev,
2069 EDAC_MOD_STR); 2069 EDAC_MOD_STR);
2070 if (unlikely(!pvt->i7core_pci)) 2070 if (unlikely(!pvt->i7core_pci))
2071 pr_warn("Unable to setup PCI error report via EDAC\n"); 2071 i7core_printk(KERN_WARNING,
2072 "Unable to setup PCI error report via EDAC\n");
2072} 2073}
2073 2074
2074static void i7core_pci_ctl_release(struct i7core_pvt *pvt) 2075static void i7core_pci_ctl_release(struct i7core_pvt *pvt)