From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 19 Nov 2010 14:31:03 +0000 (+0800) Subject: at91rm9200dk: fix warning: 'dk_mmc_data' defined but not used X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8e79d2d4e7147eb6dfd075d7cb200c666566a9e0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git at91rm9200dk: fix warning: 'dk_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-dk.c b/arch/arm/mach-at91/board-dk.c index e14f0e165680..16dfd0c38472 100644 --- a/arch/arm/mach-at91/board-dk.c +++ b/arch/arm/mach-at91/board-dk.c @@ -91,10 +91,12 @@ static struct at91_cf_data __initdata dk_cf_data = { // .vcc_pin = ... always powered }; +#ifndef CONFIG_MTD_AT91_DATAFLASH_CARD static struct at91_mmc_data __initdata dk_mmc_data = { .slot_b = 0, .wire4 = 1, }; +#endif static struct spi_board_info dk_spi_devices[] = { { /* DataFlash chip */