aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/nand/atmel_nand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 325ce29f53fc..50700ab5a57a 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -29,8 +29,8 @@
29#include <linux/mtd/nand.h> 29#include <linux/mtd/nand.h>
30#include <linux/mtd/partitions.h> 30#include <linux/mtd/partitions.h>
31 31
32#include <asm/gpio.h> 32#include <linux/gpio.h>
33#include <asm/io.h> 33#include <linux/io.h>
34 34
35#include <asm/arch/board.h> 35#include <asm/arch/board.h>
36 36
@@ -444,7 +444,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
444 444
445 if (host->board->det_pin) { 445 if (host->board->det_pin) {
446 if (gpio_get_value(host->board->det_pin)) { 446 if (gpio_get_value(host->board->det_pin)) {
447 printk ("No SmartMedia card inserted.\n"); 447 printk("No SmartMedia card inserted.\n");
448 res = ENXIO; 448 res = ENXIO;
449 goto err_no_card; 449 goto err_no_card;
450 } 450 }