diff options
Diffstat (limited to 'arch/arm/mach-msm/board-trout.c')
-rw-r--r-- | arch/arm/mach-msm/board-trout.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-trout.c index e69a1502e4e8..469e0be3499d 100644 --- a/arch/arm/mach-msm/board-trout.c +++ b/arch/arm/mach-msm/board-trout.c | |||
@@ -30,6 +30,8 @@ | |||
30 | #include "devices.h" | 30 | #include "devices.h" |
31 | #include "board-trout.h" | 31 | #include "board-trout.h" |
32 | 32 | ||
33 | extern int trout_init_mmc(unsigned int); | ||
34 | |||
33 | static struct platform_device *devices[] __initdata = { | 35 | static struct platform_device *devices[] __initdata = { |
34 | &msm_device_uart3, | 36 | &msm_device_uart3, |
35 | &msm_device_smd, | 37 | &msm_device_smd, |
@@ -55,7 +57,16 @@ static void __init trout_fixup(struct machine_desc *desc, struct tag *tags, | |||
55 | 57 | ||
56 | static void __init trout_init(void) | 58 | static void __init trout_init(void) |
57 | { | 59 | { |
60 | int rc; | ||
61 | |||
58 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 62 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
63 | |||
64 | #ifdef CONFIG_MMC | ||
65 | rc = trout_init_mmc(system_rev); | ||
66 | if (rc) | ||
67 | printk(KERN_CRIT "%s: MMC init failure (%d)\n", __func__, rc); | ||
68 | #endif | ||
69 | |||
59 | } | 70 | } |
60 | 71 | ||
61 | static struct map_desc trout_io_desc[] __initdata = { | 72 | static struct map_desc trout_io_desc[] __initdata = { |