aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/boards/hammerhead/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/boards/hammerhead/setup.c')
-rw-r--r--arch/avr32/boards/hammerhead/setup.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/avr32/boards/hammerhead/setup.c b/arch/avr32/boards/hammerhead/setup.c
index af45c26c5ff..4d2fe82b202 100644
--- a/arch/avr32/boards/hammerhead/setup.c
+++ b/arch/avr32/boards/hammerhead/setup.c
@@ -7,6 +7,7 @@
7 * it under the terms of the GNU General Public License version 2 as 7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation. 8 * published by the Free Software Foundation.
9 */ 9 */
10#include <linux/atmel-mci.h>
10#include <linux/clk.h> 11#include <linux/clk.h>
11#include <linux/fb.h> 12#include <linux/fb.h>
12#include <linux/etherdevice.h> 13#include <linux/etherdevice.h>
@@ -86,6 +87,14 @@ struct atmel_lcdfb_info __initdata hammerhead_lcdc_data = {
86}; 87};
87#endif 88#endif
88 89
90static struct mci_platform_data __initdata mci0_data = {
91 .slot[0] = {
92 .bus_width = 4,
93 .detect_pin = -ENODEV,
94 .wp_pin = -ENODEV,
95 },
96};
97
89struct eth_addr { 98struct eth_addr {
90 u8 addr[6]; 99 u8 addr[6];
91}; 100};
@@ -204,7 +213,7 @@ static int __init hammerhead_init(void)
204#ifdef CONFIG_BOARD_HAMMERHEAD_FPGA 213#ifdef CONFIG_BOARD_HAMMERHEAD_FPGA
205 at32_add_device_hh_fpga(); 214 at32_add_device_hh_fpga();
206#endif 215#endif
207 at32_add_device_mci(0, NULL); 216 at32_add_device_mci(0, &mci0_data);
208 217
209#ifdef CONFIG_BOARD_HAMMERHEAD_USB 218#ifdef CONFIG_BOARD_HAMMERHEAD_USB
210 at32_add_device_usba(0, NULL); 219 at32_add_device_usba(0, NULL);