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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2010-11-19 22:31:35 +08:00 committed by Nicolas Ferre
parent 8e79d2d4e7
commit 55d83b0a6e
1 changed files with 2 additions and 0 deletions

View File

@ -84,12 +84,14 @@ static struct at91_udc_data __initdata ek_udc_data = {
.pullup_pin = AT91_PIN_PD5, .pullup_pin = AT91_PIN_PD5,
}; };
#ifndef CONFIG_MTD_AT91_DATAFLASH_CARD
static struct at91_mmc_data __initdata ek_mmc_data = { static struct at91_mmc_data __initdata ek_mmc_data = {
.det_pin = AT91_PIN_PB27, .det_pin = AT91_PIN_PB27,
.slot_b = 0, .slot_b = 0,
.wire4 = 1, .wire4 = 1,
.wp_pin = AT91_PIN_PA17, .wp_pin = AT91_PIN_PA17,
}; };
#endif
static struct spi_board_info ek_spi_devices[] = { static struct spi_board_info ek_spi_devices[] = {
{ /* DataFlash chip */ { /* DataFlash chip */