summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-dt.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-11-25 01:51:06 +0800
committerArnd Bergmann <arnd@arndb.de>2011-11-29 15:46:14 +0000
commit63b4c2967850033de0a488d2ba7cd09052199d99 (patch)
tree86a21775f577fa5b7ea83ca81cfce1912d6cc29c /arch/arm/mach-at91/board-dt.c
parent1a2d9156b5fc92b40aa2ffbc2fdf6d88bbf74f3a (diff)
downloadblackbird-op-linux-63b4c2967850033de0a488d2ba7cd09052199d99.tar.gz
blackbird-op-linux-63b4c2967850033de0a488d2ba7cd09052199d99.zip
ARM: at91/boards: use -EINVAL for invalid gpio
this will allow to use gpio_is_valid Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/board-dt.c')
-rw-r--r--arch/arm/mach-at91/board-dt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/board-dt.c b/arch/arm/mach-at91/board-dt.c
index 41d84d9a2316..bb6b434ec0c1 100644
--- a/arch/arm/mach-at91/board-dt.c
+++ b/arch/arm/mach-at91/board-dt.c
@@ -50,6 +50,7 @@ static void __init ek_init_early(void)
static struct atmel_nand_data __initdata ek_nand_data = {
.ale = 21,
.cle = 22,
+ .det_pin = -EINVAL,
.rdy_pin = AT91_PIN_PC8,
.enable_pin = AT91_PIN_PC14,
};
OpenPOWER on IntegriCloud