summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-11-19 22:31:35 +0800
committerNicolas Ferre <nicolas.ferre@atmel.com>2010-11-30 17:22:07 +0100
commit55d83b0a6eb61d159a4a6d269745ee019f9f5f91 (patch)
tree39cf6c87fcac9c7dddbf1c24bbc063beb97c5de5 /arch
parent8e79d2d4e7147eb6dfd075d7cb200c666566a9e0 (diff)
downloadlinux-3.10-55d83b0a6eb61d159a4a6d269745ee019f9f5f91.tar.gz
linux-3.10-55d83b0a6eb61d159a4a6d269745ee019f9f5f91.tar.bz2
linux-3.10-55d83b0a6eb61d159a4a6d269745ee019f9f5f91.zip
at91rm9200ek: fix warning: 'ek_mmc_data' defined but not used
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Andrew Victor <linux@maxim.org.za>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-at91/board-ek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/board-ek.c b/arch/arm/mach-at91/board-ek.c
index 56e92c4bbc2..6203cdff357 100644
--- a/arch/arm/mach-at91/board-ek.c
+++ b/arch/arm/mach-at91/board-ek.c
@@ -84,12 +84,14 @@ static struct at91_udc_data __initdata ek_udc_data = {
.pullup_pin = AT91_PIN_PD5,
};
+#ifndef CONFIG_MTD_AT91_DATAFLASH_CARD
static struct at91_mmc_data __initdata ek_mmc_data = {
.det_pin = AT91_PIN_PB27,
.slot_b = 0,
.wire4 = 1,
.wp_pin = AT91_PIN_PA17,
};
+#endif
static struct spi_board_info ek_spi_devices[] = {
{ /* DataFlash chip */