[PATCH v2 2/2] at91sam9260/9g20ek: remove #ifdef for ek_usb_add_device_mci()
Fabio Porcedda
fabio.porcedda at gmail.com
Fri Feb 15 05:58:26 EST 2013
Remove #ifdef for ek_usb_add_device_mci() because there is already
the #ifdef inside at91_add_device_mci(), this way the compiler can check
always the code without any penality.
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 | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c
index 5b163b7..ed4f0dd 100644
--- a/arch/arm/boards/at91sam9260ek/init.c
+++ b/arch/arm/boards/at91sam9260ek/init.c
@@ -153,7 +153,6 @@ static void at91sam9260ek_phy_reset(void)
/*
* MCI (SD/MMC)
*/
-#if defined(CONFIG_MCI_ATMEL)
static struct atmel_mci_platform_data __initdata ek_mci_data = {
.bus_width = 4,
.slot_b = 1,
@@ -166,9 +165,6 @@ static void ek_usb_add_device_mci(void)
at91_add_device_mci(0, &ek_mci_data);
}
-#else
-static void ek_usb_add_device_mci(void) {}
-#endif
/*
* USB Host port
--
1.8.1.1
More information about the barebox
mailing list