diff options
Diffstat (limited to 'arch/arm/mach-spear3xx/spear300_evb.c')
-rw-r--r-- | arch/arm/mach-spear3xx/spear300_evb.c | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/arch/arm/mach-spear3xx/spear300_evb.c b/arch/arm/mach-spear3xx/spear300_evb.c index 42d2253ef540..405ae098cc87 100644 --- a/arch/arm/mach-spear3xx/spear300_evb.c +++ b/arch/arm/mach-spear3xx/spear300_evb.c | |||
@@ -19,17 +19,17 @@ | |||
19 | /* padmux devices to enable */ | 19 | /* padmux devices to enable */ |
20 | static struct pmx_dev *pmx_devs[] = { | 20 | static struct pmx_dev *pmx_devs[] = { |
21 | /* spear3xx specific devices */ | 21 | /* spear3xx specific devices */ |
22 | &pmx_i2c, | 22 | &spear3xx_pmx_i2c, |
23 | &pmx_ssp_cs, | 23 | &spear3xx_pmx_ssp_cs, |
24 | &pmx_ssp, | 24 | &spear3xx_pmx_ssp, |
25 | &pmx_mii, | 25 | &spear3xx_pmx_mii, |
26 | &pmx_uart0, | 26 | &spear3xx_pmx_uart0, |
27 | 27 | ||
28 | /* spear300 specific devices */ | 28 | /* spear300 specific devices */ |
29 | &pmx_fsmc_2_chips, | 29 | &spear300_pmx_fsmc_2_chips, |
30 | &pmx_clcd, | 30 | &spear300_pmx_clcd, |
31 | &pmx_telecom_sdhci_4bit, | 31 | &spear300_pmx_telecom_sdhci_4bit, |
32 | &pmx_gpio1, | 32 | &spear300_pmx_gpio1, |
33 | }; | 33 | }; |
34 | 34 | ||
35 | static struct amba_device *amba_devs[] __initdata = { | 35 | static struct amba_device *amba_devs[] __initdata = { |
@@ -51,13 +51,9 @@ static void __init spear300_evb_init(void) | |||
51 | { | 51 | { |
52 | unsigned int i; | 52 | unsigned int i; |
53 | 53 | ||
54 | /* padmux initialization, must be done before spear300_init */ | ||
55 | pmx_driver.mode = &photo_frame_mode; | ||
56 | pmx_driver.devs = pmx_devs; | ||
57 | pmx_driver.devs_count = ARRAY_SIZE(pmx_devs); | ||
58 | |||
59 | /* call spear300 machine init function */ | 54 | /* call spear300 machine init function */ |
60 | spear300_init(); | 55 | spear300_init(&spear300_photo_frame_mode, pmx_devs, |
56 | ARRAY_SIZE(pmx_devs)); | ||
61 | 57 | ||
62 | /* Add Platform Devices */ | 58 | /* Add Platform Devices */ |
63 | platform_add_devices(plat_devs, ARRAY_SIZE(plat_devs)); | 59 | platform_add_devices(plat_devs, ARRAY_SIZE(plat_devs)); |