diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-06-07 03:49:00 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-06-07 03:49:00 -0400 |
commit | 90574d0a4d4b73308ae54a2a57a4f3f1fa98e984 (patch) | |
tree | 74429aae65c10fca04b8488cc9bcf615287652b0 /drivers/mtd/nand/atmel_nand.c | |
parent | e150d6e725c014d72106a8610be40b7b08beb77a (diff) |
[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>
Diffstat (limited to 'drivers/mtd/nand/atmel_nand.c')
-rw-r--r-- | 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 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 | } |