avr32: Fix build failures in board code
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 12 Oct 2008 14:02:46 +0000 (16:02 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 12 Oct 2008 14:13:28 +0000 (16:13 +0200)
Fix a few instances of board code breakage introduced by the atmel-mci
platform interface changes.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/boards/atstk1000/atstk1002.c
arch/avr32/boards/atstk1000/atstk1003.c
arch/avr32/boards/atstk1000/atstk1004.c

index 2bcea80b27460a8d2c1635f07cf8f38c3d8d850c..29e5b51a7fd2b8801a23655e17edcff41ade6ab2 100644 (file)
@@ -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]));
index 2bc300c3471c929d5c92e93533c02de7a793588a..be089d7f37ebf1b0fe955475417fce4fb66e86f9 100644 (file)
@@ -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>
index 5d48559717191bb0dc9176dc029208d30cf3ec6d..248ef237c167b95283c30dec20ca0080c97e6feb 100644 (file)
@@ -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>