aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/s3c2410.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-05-20 12:32:14 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2008-06-04 13:00:58 -0400
commit451d33993b13174d27474ad2ce7a2f10ce2e31ad (patch)
tree40cf87ed1af300a311c21f529f69775ba5062d1c /drivers/mtd/nand/s3c2410.c
parent2e3c22f57029ce04d55c07b8332ae405005456d9 (diff)
[MTD] [NAND] S3C2410: Change printk() into dev_dbg()
Fix a minor problem with what should have been debug output by changing printk() to dev_dbg() inside s3c2410_nand_update_chip(). Thanks to David Woodhouse for pointing this out. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/nand/s3c2410.c')
-rw-r--r--drivers/mtd/nand/s3c2410.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
index 91f42e485520..c9726bd2c64a 100644
--- a/drivers/mtd/nand/s3c2410.c
+++ b/drivers/mtd/nand/s3c2410.c
@@ -689,7 +689,8 @@ static void s3c2410_nand_update_chip(struct s3c2410_nand_info *info,
689{ 689{
690 struct nand_chip *chip = &nmtd->chip; 690 struct nand_chip *chip = &nmtd->chip;
691 691
692 printk("%s: chip %p: %d\n", __func__, chip, chip->page_shift); 692 dev_dbg(info->device, "chip %p => page shift %d\n",
693 chip, chip->page_shift);
693 694
694 if (hardware_ecc) { 695 if (hardware_ecc) {
695 /* change the behaviour depending on wether we are using 696 /* change the behaviour depending on wether we are using