Skip to contentSkip to conversation

arm: add KERN_ constants to

PATCH In review James Nelson 1 participant 1 message Sep 8, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 5/72 arm: add KERN_ constants to

---

arch/arm/mach-integrator/impd1.c +2 -2
index 92d79fb..cf4eeda 100644
@@ -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);
 		}

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors