Skip to content

Commit 90574d0

Browse files
committed
[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>
1 parent e150d6e commit 90574d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/mtd/nand/atmel_nand.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
#include <linux/mtd/nand.h>
3030
#include <linux/mtd/partitions.h>
3131

32-
#include <asm/gpio.h>
33-
#include <asm/io.h>
32+
#include <linux/gpio.h>
33+
#include <linux/io.h>
3434

3535
#include <asm/arch/board.h>
3636

@@ -444,7 +444,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
444444

445445
if (host->board->det_pin) {
446446
if (gpio_get_value(host->board->det_pin)) {
447-
printk ("No SmartMedia card inserted.\n");
447+
printk("No SmartMedia card inserted.\n");
448448
res = ENXIO;
449449
goto err_no_card;
450450
}

0 commit comments

Comments
 (0)