Commit 55d83b0a authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD Committed by Nicolas Ferre

at91rm9200ek: fix warning: 'ek_mmc_data' defined but not used

Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: default avatarAndrew Victor <linux@maxim.org.za>
parent 8e79d2d4
...@@ -84,12 +84,14 @@ static struct at91_udc_data __initdata ek_udc_data = { ...@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment