[MTD] [NAND] Fix checkpatch warnings which showed up when atmel_nand.c moved
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 7 Jun 2008 07:49:00 +0000 (08:49 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 7 Jun 2008 07:49:00 +0000 (08:49 +0100)
Some of them, at least.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/atmel_nand.c

index 325ce29f53fc3bc32fb86a96a45fc04efb135d07..50700ab5a57ab3fb2f37dbb1f0b187c1f90740c9 100644 (file)
@@ -29,8 +29,8 @@
 #include <linux/mtd/nand.h>
 #include <linux/mtd/partitions.h>
 
-#include <asm/gpio.h>
-#include <asm/io.h>
+#include <linux/gpio.h>
+#include <linux/io.h>
 
 #include <asm/arch/board.h>
 
@@ -444,7 +444,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
 
        if (host->board->det_pin) {
                if (gpio_get_value(host->board->det_pin)) {
-                       printk ("No SmartMedia card inserted.\n");
+                       printk("No SmartMedia card inserted.\n");
                        res = ENXIO;
                        goto err_no_card;
                }