diff options
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/mach-au1x00/au1100_mmc.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/asm-mips/mach-au1x00/au1100_mmc.h b/include/asm-mips/mach-au1x00/au1100_mmc.h index 9e0028f60a43..c35e20918490 100644 --- a/include/asm-mips/mach-au1x00/au1100_mmc.h +++ b/include/asm-mips/mach-au1x00/au1100_mmc.h | |||
@@ -38,15 +38,15 @@ | |||
38 | #ifndef __ASM_AU1100_MMC_H | 38 | #ifndef __ASM_AU1100_MMC_H |
39 | #define __ASM_AU1100_MMC_H | 39 | #define __ASM_AU1100_MMC_H |
40 | 40 | ||
41 | 41 | #include <linux/leds.h> | |
42 | #define NUM_AU1100_MMC_CONTROLLERS 2 | 42 | |
43 | 43 | struct au1xmmc_platform_data { | |
44 | #if defined(CONFIG_SOC_AU1100) | 44 | int(*cd_setup)(void *mmc_host, int on); |
45 | #define AU1100_SD_IRQ AU1100_SD_INT | 45 | int(*card_inserted)(void *mmc_host); |
46 | #elif defined(CONFIG_SOC_AU1200) | 46 | int(*card_readonly)(void *mmc_host); |
47 | #define AU1100_SD_IRQ AU1200_SD_INT | 47 | void(*set_power)(void *mmc_host, int state); |
48 | #endif | 48 | struct led_classdev *led; |
49 | 49 | }; | |
50 | 50 | ||
51 | #define SD0_BASE 0xB0600000 | 51 | #define SD0_BASE 0xB0600000 |
52 | #define SD1_BASE 0xB0680000 | 52 | #define SD1_BASE 0xB0680000 |