summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-06-07 08:49:00 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2008-06-07 08:49:00 +0100
commit90574d0a4d4b73308ae54a2a57a4f3f1fa98e984 (patch)
tree74429aae65c10fca04b8488cc9bcf615287652b0
parente150d6e725c014d72106a8610be40b7b08beb77a (diff)
downloadop-kernel-dev-90574d0a4d4b73308ae54a2a57a4f3f1fa98e984.zip
op-kernel-dev-90574d0a4d4b73308ae54a2a57a4f3f1fa98e984.tar.gz
[MTD] [NAND] Fix checkpatch warnings which showed up when atmel_nand.c moved
Some of them, at least. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-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 325ce29..50700ab 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -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;
}
OpenPOWER on IntegriCloud