diff options
Diffstat (limited to 'arch/avr32/boards/atstk1000/atstk1003.c')
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1003.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/avr32/boards/atstk1000/atstk1003.c b/arch/avr32/boards/atstk1000/atstk1003.c index 0cf664174c17..acc61235b895 100644 --- a/arch/avr32/boards/atstk1000/atstk1003.c +++ b/arch/avr32/boards/atstk1000/atstk1003.c | |||
@@ -66,6 +66,16 @@ static struct spi_board_info spi1_board_info[] __initdata = { { | |||
66 | } }; | 66 | } }; |
67 | #endif | 67 | #endif |
68 | 68 | ||
69 | #ifndef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM | ||
70 | static struct mci_platform_data __initdata mci0_data = { | ||
71 | .slot[0] = { | ||
72 | .bus_width = 4, | ||
73 | .detect_pin = -ENODEV, | ||
74 | .wp_pin = -ENODEV, | ||
75 | }, | ||
76 | }; | ||
77 | #endif | ||
78 | |||
69 | #ifdef CONFIG_BOARD_ATSTK1000_EXTDAC | 79 | #ifdef CONFIG_BOARD_ATSTK1000_EXTDAC |
70 | static void __init atstk1003_setup_extdac(void) | 80 | static void __init atstk1003_setup_extdac(void) |
71 | { | 81 | { |
@@ -154,7 +164,7 @@ static int __init atstk1003_init(void) | |||
154 | at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info)); | 164 | at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info)); |
155 | #endif | 165 | #endif |
156 | #ifndef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM | 166 | #ifndef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM |
157 | at32_add_device_mci(0, NULL); | 167 | at32_add_device_mci(0, &mci0_data); |
158 | #endif | 168 | #endif |
159 | at32_add_device_usba(0, NULL); | 169 | at32_add_device_usba(0, NULL); |
160 | #ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM | 170 | #ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM |