[KJ] [PATCH 05/72] arm: add KERN_ constants to arch/arm/mach-integrator/impd1.c

James Nelson james4765 at gmail.com
Thu Sep 7 18:56:57 PDT 2006


Signed-off-by: James Nelson <james4765 at gmail.com>
---
diff --git a/arch/arm/mach-integrator/impd1.c b/arch/arm/mach-integrator/impd1.c
index 92d79fb..cf4eeda 100644
--- a/arch/arm/mach-integrator/impd1.c
+++ b/arch/arm/mach-integrator/impd1.c
@@ -369,7 +369,7 @@ static int impd1_probe(struct lm_device 
 
 	lm_set_drvdata(dev, impd1);
 
-	printk("IM-PD1 found at 0x%08lx\n", dev->resource.start);
+	pr_info("IM-PD1 found at 0x%08lx\n", dev->resource.start);
 
 	for (i = 0; i < ARRAY_SIZE(impd1->vcos); i++) {
 		impd1->vcos[i].owner = THIS_MODULE,
@@ -406,7 +406,7 @@ static int impd1_probe(struct lm_device 
 
 		ret = amba_device_register(d, &dev->resource);
 		if (ret) {
-			printk("unable to register device %s: %d\n",
+			printk(KERN_ERR "unable to register device %s: %d\n",
 				d->dev.bus_id, ret);
 			kfree(d);
 		}



More information about the Kernel-janitors mailing list