From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 19 Nov 2010 14:31:35 +0000 (+0800) Subject: at91rm9200ek: fix warning: 'ek_mmc_data' defined but not used X-Git-Tag: v2.6.37-rc5~40^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55d83b0a6eb61d159a4a6d269745ee019f9f5f91;p=platform%2Fkernel%2Flinux-exynos.git at91rm9200ek: fix warning: 'ek_mmc_data' defined but not used Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Andrew Victor --- diff --git a/arch/arm/mach-at91/board-ek.c b/arch/arm/mach-at91/board-ek.c index 56e92c4..6203cdf 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 */