summaryrefslogtreecommitdiff
path: root/fs/yaffs2/yaffs_uboot_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/yaffs2/yaffs_uboot_glue.c')
-rw-r--r--fs/yaffs2/yaffs_uboot_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/yaffs2/yaffs_uboot_glue.c b/fs/yaffs2/yaffs_uboot_glue.c
index bd66d31697..2a70e4a543 100644
--- a/fs/yaffs2/yaffs_uboot_glue.c
+++ b/fs/yaffs2/yaffs_uboot_glue.c
@@ -168,7 +168,7 @@ void cmd_yaffs_devconfig(char *_mp, int flash_dev,
mtd = get_nand_dev_by_index(flash_dev);
if (!mtd) {
- error("\nno NAND devices available\n");
+ pr_err("\nno NAND devices available\n");
return;
}