Commit 6eb3ebe0 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen

avr32: Fix build failures in board code

Fix a few instances of board code breakage introduced by the atmel-mci
platform interface changes.
Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
parent caf18f19
......@@ -330,7 +330,7 @@ static int __init atstk1002_init(void)
at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info));
#endif
#ifndef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
at32_add_device_mci(0, &mci0_pdata);
at32_add_device_mci(0, &mci0_data);
#endif
#ifdef CONFIG_BOARD_ATSTK1002_SW5_CUSTOM
set_hw_addr(at32_add_device_eth(1, &eth_data[1]));
......
......@@ -19,6 +19,7 @@
#include <linux/spi/spi.h>
#include <asm/setup.h>
#include <asm/atmel-mci.h>
#include <mach/at32ap700x.h>
#include <mach/board.h>
......
......@@ -21,6 +21,7 @@
#include <video/atmel_lcdc.h>
#include <asm/setup.h>
#include <asm/atmel-mci.h>
#include <mach/at32ap700x.h>
#include <mach/board.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment