]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[MTD] NAND s3c2410.c: Fix missing dev parameter to dev_err
authorBen Dooks <ben@simtec.co.uk>
Mon, 10 Oct 2005 10:27:05 +0000 (11:27 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 22:10:43 +0000 (23:10 +0100)
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/s3c2410.c

index a44458fd422f85db1458d1fd4db39c669da778f1..41f2078225a5c70c7d1d145168ef3c3b92560675 100644 (file)
@@ -18,7 +18,7 @@
  *     20-Jun-2005  BJD  Updated s3c2440 support, fixed timing bug
  *     08-Jul-2005  BJD  Fix OOPS when no platform data supplied
  *
- * $Id: s3c2410.c,v 1.16 2005/10/10 00:09:16 bjd Exp $
+ * $Id: s3c2410.c,v 1.17 2005/10/10 10:27:02 bjd Exp $
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -576,7 +576,7 @@ static int s3c24xx_nand_probe(struct device *dev, int is_s3c2440)
 
        info = kmalloc(sizeof(*info), GFP_KERNEL);
        if (info == NULL) {
-               dev_err("no memory for flash info\n");
+               dev_err(dev, "no memory for flash info\n");
                err = -ENOMEM;
                goto exit_error;
        }