Skip to content

Commit

Permalink
at91rm9200dk: fix warning: 'dk_mmc_data' defined but not used
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Andrew Victor <linux@maxim.org.za>
  • Loading branch information
Jean-Christophe PLAGNIOL-VILLARD authored and Nicolas Ferre committed Nov 30, 2010
1 parent 8ae8cd9 commit 8e79d2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-at91/board-dk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 8e79d2d

Please sign in to comment.