diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-11 10:02:23 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-11 10:02:23 +0000 |
commit | c1f8025fcdf086d135e35587125867b31e4c9d6c (patch) | |
tree | f021e239ab70bcdda6a8543e7c12f65ccfaa10e8 | |
parent | d72bd4532f93d0bf12a8f625bfbc416584ef5e60 (diff) |
Fix some \n and kernel logging levels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7181 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/adm5120-2.6/files/drivers/mtd/nand/rbmipsnand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/adm5120-2.6/files/drivers/mtd/nand/rbmipsnand.c b/target/linux/adm5120-2.6/files/drivers/mtd/nand/rbmipsnand.c index f086552904..caecd50659 100644 --- a/target/linux/adm5120-2.6/files/drivers/mtd/nand/rbmipsnand.c +++ b/target/linux/adm5120-2.6/files/drivers/mtd/nand/rbmipsnand.c @@ -78,7 +78,7 @@ EXPORT_SYMBOL(get_rbnand_block_size); int __init rbmips_init(void) { memset(&rmtd, 0, sizeof(rmtd)); memset(&rnand, 0, sizeof(rnand)); - printk("RB1xx nand\n"); + printk(KERN_INFO "RB1xx nand\n"); MEM32(0xB2000064) = 0x100; MEM32(0xB2000008) = 0x1; SMEM1(NAND_SET_SPn) = 0x01; @@ -89,7 +89,7 @@ int __init rbmips_init(void) { rnand.dev_ready = rb100_dev_ready; p_nand = (void __iomem *)ioremap(( unsigned long)SMEM1_BASE, 0x1000); if (!p_nand) { - printk("RB1xx nand Unable ioremap buffer"); + printk(KERN_WARNING "RB1xx nand Unable ioremap buffer\n"); return -ENXIO; } rnand.ecc.mode = NAND_ECC_SOFT; @@ -98,7 +98,7 @@ int __init rbmips_init(void) { rmtd.priv = &rnand; if (nand_scan(&rmtd, 1) && nand_scan(&rmtd, 1) && nand_scan(&rmtd, 1) && nand_scan(&rmtd, 1)) { - printk("RB1xxx nand device not found"); + printk(KERN_INFO "RB1xxx nand device not found\n"); iounmap ((void *)p_nand); return -ENXIO; } |