[MTD] [NAND] Fix checkpatch warnings which showed up when atmel_nand.c moved
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sat Jun 7 07:59:02 EDT 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=90574d0a4d4b73308ae54a2a57a4f3f1fa98e984
Commit: 90574d0a4d4b73308ae54a2a57a4f3f1fa98e984
Parent: e150d6e725c014d72106a8610be40b7b08beb77a
Author: David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Sat Jun 7 08:49:00 2008 +0100
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sat Jun 7 08:49:00 2008 +0100
[MTD] [NAND] Fix checkpatch warnings which showed up when atmel_nand.c moved
Some of them, at least.
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/mtd/nand/atmel_nand.c | 6 +++---
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;
}
More information about the linux-mtd-cvs
mailing list