projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae8cd9
)
at91rm9200dk: fix warning: 'dk_mmc_data' defined but not used
author
Jean-Christophe PLAGNIOL-VILLARD
<
[email protected]
>
Fri, 19 Nov 2010 14:31:03 +0000
(22:31 +0800)
committer
Nicolas Ferre
<
[email protected]
>
Tue, 30 Nov 2010 16:21:55 +0000
(17:21 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <
[email protected]
>
Signed-off-by: Andrew Victor <
[email protected]
>
arch/arm/mach-at91/board-dk.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-at91/board-dk.c
b/arch/arm/mach-at91/board-dk.c
index e14f0e165680ed39b5a9be326e661b9b415cb1bd..16dfd0c38472bdcff7050b820be7f7a0d7ed22f0 100644
(file)
--- 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 */