diff options
-rw-r--r-- | drivers/mtd/nand/s3c2410.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index a44458fd422f..41f2078225a5 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
@@ -18,7 +18,7 @@ | |||
18 | * 20-Jun-2005 BJD Updated s3c2440 support, fixed timing bug | 18 | * 20-Jun-2005 BJD Updated s3c2440 support, fixed timing bug |
19 | * 08-Jul-2005 BJD Fix OOPS when no platform data supplied | 19 | * 08-Jul-2005 BJD Fix OOPS when no platform data supplied |
20 | * | 20 | * |
21 | * $Id: s3c2410.c,v 1.16 2005/10/10 00:09:16 bjd Exp $ | 21 | * $Id: s3c2410.c,v 1.17 2005/10/10 10:27:02 bjd Exp $ |
22 | * | 22 | * |
23 | * This program is free software; you can redistribute it and/or modify | 23 | * This program is free software; you can redistribute it and/or modify |
24 | * it under the terms of the GNU General Public License as published by | 24 | * 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) | |||
576 | 576 | ||
577 | info = kmalloc(sizeof(*info), GFP_KERNEL); | 577 | info = kmalloc(sizeof(*info), GFP_KERNEL); |
578 | if (info == NULL) { | 578 | if (info == NULL) { |
579 | dev_err("no memory for flash info\n"); | 579 | dev_err(dev, "no memory for flash info\n"); |
580 | err = -ENOMEM; | 580 | err = -ENOMEM; |
581 | goto exit_error; | 581 | goto exit_error; |
582 | } | 582 | } |