[PATCH] at91sam9260/9g20ek: use -EINVAL for invalid gpio on atmel_mci
Fabio Porcedda
fabio.porcedda at gmail.com
Mon Feb 18 04:58:08 EST 2013
Signed-off-by: Fabio Porcedda <fabio.porcedda at gmail.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
arch/arm/boards/at91sam9260ek/init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c
index 77ca6bb..dc2976a 100644
--- a/arch/arm/boards/at91sam9260ek/init.c
+++ b/arch/arm/boards/at91sam9260ek/init.c
@@ -156,6 +156,8 @@ static void at91sam9260ek_phy_reset(void)
static struct atmel_mci_platform_data __initdata ek_mci_data = {
.bus_width = 4,
.slot_b = 1,
+ .detect_pin = -EINVAL,
+ .wp_pin = -EINVAL,
};
static void ek_usb_add_device_mci(void)
--
1.8.1.1
More information about the barebox
mailing list