mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[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>
This commit is contained in:
parent
e150d6e725
commit
90574d0a4d
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue