From: Mauro Carvalho Chehab Date: Sat, 21 Aug 2010 12:42:05 +0000 (-0300) Subject: i7core_edac: use edac's own way to print errors X-Git-Tag: next-20110726~16^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c7a471ec6528ede2acd45bb5e37c0f8a094ec001;p=karo-tx-linux.git i7core_edac: use edac's own way to print errors Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c index 362861c15779..1411f4afcdc1 100644 --- a/drivers/edac/i7core_edac.c +++ b/drivers/edac/i7core_edac.c @@ -1874,7 +1874,8 @@ static void i7core_pci_ctl_create(struct i7core_pvt *pvt) &pvt->i7core_dev->pdev[0]->dev, EDAC_MOD_STR); if (unlikely(!pvt->i7core_pci)) - pr_warn("Unable to setup PCI error report via EDAC\n"); + i7core_printk(KERN_WARNING, + "Unable to setup PCI error report via EDAC\n"); } static void i7core_pci_ctl_release(struct i7core_pvt *pvt)