Merge branch 'linus' into tracing/hw-branch-tracing
[sfrench/cifs-2.6.git] / arch / avr32 / boards / atngw100 / setup.c
index 32fb9ba0fbdfe40e6943b2c5bdebbfd706bd59ad..5b022aad4bd95b5c086801a04cf6114cc81cde10 100644 (file)
@@ -19,8 +19,8 @@
 #include <linux/types.h>
 #include <linux/leds.h>
 #include <linux/spi/spi.h>
+#include <linux/atmel-mci.h>
 
-#include <asm/atmel-mci.h>
 #include <asm/io.h>
 #include <asm/setup.h>
 
@@ -56,13 +56,8 @@ static struct spi_board_info spi0_board_info[] __initdata = {
 static struct mci_platform_data __initdata mci0_data = {
        .slot[0] = {
                .bus_width      = 4,
-#ifndef CONFIG_BOARD_ATNGW100_EVKLCD10X
                .detect_pin     = GPIO_PIN_PC(25),
                .wp_pin         = GPIO_PIN_PE(0),
-#else
-               .detect_pin     = GPIO_PIN_NONE,
-               .wp_pin         = GPIO_PIN_NONE,
-#endif
        },
 };
 
@@ -123,7 +118,7 @@ static void __init set_hw_addr(struct platform_device *pdev)
 
 void __init setup_board(void)
 {
-       at32_map_usart(1, 0);   /* USART 1: /dev/ttyS0, DB9 */
+       at32_map_usart(1, 0, 0);        /* USART 1: /dev/ttyS0, DB9 */
        at32_setup_serial_console(0);
 }