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:
45e9c0d
)
atstk1000: fix build breakage with BOARD_ATSTK100X_SW2_CUSTOM=y
author
Haavard Skinnemoen
<
[email protected]
>
Fri, 19 Sep 2008 15:56:54 +0000
(17:56 +0200)
committer
Haavard Skinnemoen
<
[email protected]
>
Fri, 19 Sep 2008 16:21:29 +0000
(18:21 +0200)
The #ifdef surrounding the code adding the mmc controller had a typo,
causing it to be compiled even when mmc was supposed to be disabled.
Signed-off-by: Haavard Skinnemoen <
[email protected]
>
arch/avr32/boards/atstk1000/atstk1002.c
patch
|
blob
|
history
diff --git
a/arch/avr32/boards/atstk1000/atstk1002.c
b/arch/avr32/boards/atstk1000/atstk1002.c
index ee4c292683e15a698656d22ba8068c89d5c9710b..dfc3443e23aa3df4cb0033c579a5f7a3d4679623 100644
(file)
--- a/
arch/avr32/boards/atstk1000/atstk1002.c
+++ b/
arch/avr32/boards/atstk1000/atstk1002.c
@@
-325,7
+325,7
@@
static int __init atstk1002_init(void)
#ifdef CONFIG_BOARD_ATSTK100X_SPI1
at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info));
#endif
-#ifndef CONFIG_BOARD_ATSTK100
2
_SW2_CUSTOM
+#ifndef CONFIG_BOARD_ATSTK100
X
_SW2_CUSTOM
at32_add_device_mci(0, MCI_PDATA);
#endif
#ifdef CONFIG_BOARD_ATSTK1002_SW5_CUSTOM