Commit c42aa775 authored by Nicolas Ferre's avatar Nicolas Ferre Committed by Haavard Skinnemoen

atmel-mci: move atmel-mci.h file to include/linux

Needed to use the atmel-mci driver in an architecture
independant maner.
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
parent 4a6908a3
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/leds.h> #include <linux/leds.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/atmel-mci.h>
#include <asm/atmel-mci.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/setup.h> #include <asm/setup.h>
......
...@@ -16,12 +16,12 @@ ...@@ -16,12 +16,12 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/spi/at73c213.h> #include <linux/spi/at73c213.h>
#include <linux/atmel-mci.h>
#include <video/atmel_lcdc.h> #include <video/atmel_lcdc.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/atmel-mci.h>
#include <mach/at32ap700x.h> #include <mach/at32ap700x.h>
#include <mach/board.h> #include <mach/board.h>
......
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
#include <linux/spi/at73c213.h> #include <linux/spi/at73c213.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/atmel-mci.h>
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/atmel-mci.h>
#include <mach/at32ap700x.h> #include <mach/at32ap700x.h>
#include <mach/board.h> #include <mach/board.h>
......
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
#include <linux/spi/at73c213.h> #include <linux/spi/at73c213.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/atmel-mci.h>
#include <video/atmel_lcdc.h> #include <video/atmel_lcdc.h>
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/atmel-mci.h>
#include <mach/at32ap700x.h> #include <mach/at32ap700x.h>
#include <mach/board.h> #include <mach/board.h>
......
...@@ -24,7 +24,7 @@ extern struct atmel_lcdfb_info mimc200_lcdc_data; ...@@ -24,7 +24,7 @@ extern struct atmel_lcdfb_info mimc200_lcdc_data;
#include <video/atmel_lcdc.h> #include <video/atmel_lcdc.h>
#include <linux/fb.h> #include <linux/fb.h>
#include <asm/atmel-mci.h> #include <linux/atmel-mci.h>
#include <linux/io.h> #include <linux/io.h>
#include <asm/setup.h> #include <asm/setup.h>
......
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/usb/atmel_usba_udc.h> #include <linux/usb/atmel_usba_udc.h>
#include <linux/atmel-mci.h>
#include <asm/atmel-mci.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/irq.h> #include <asm/irq.h>
......
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/mmc/host.h> #include <linux/mmc/host.h>
#include <linux/atmel-mci.h>
#include <asm/atmel-mci.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
......
#ifndef __ASM_AVR32_ATMEL_MCI_H #ifndef __LINUX_ATMEL_MCI_H
#define __ASM_AVR32_ATMEL_MCI_H #define __LINUX_ATMEL_MCI_H
#define ATMEL_MCI_MAX_NR_SLOTS 2 #define ATMEL_MCI_MAX_NR_SLOTS 2
...@@ -36,4 +36,4 @@ struct mci_platform_data { ...@@ -36,4 +36,4 @@ struct mci_platform_data {
struct mci_slot_pdata slot[ATMEL_MCI_MAX_NR_SLOTS]; struct mci_slot_pdata slot[ATMEL_MCI_MAX_NR_SLOTS];
}; };
#endif /* __ASM_AVR32_ATMEL_MCI_H */ #endif /* __LINUX_ATMEL_MCI_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