diff options
Diffstat (limited to 'arch/arm/mach-mx3/pcm037.c')
-rw-r--r-- | arch/arm/mach-mx3/pcm037.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-mx3/pcm037.c b/arch/arm/mach-mx3/pcm037.c index 0a152ed15a85..03374f9e0000 100644 --- a/arch/arm/mach-mx3/pcm037.c +++ b/arch/arm/mach-mx3/pcm037.c | |||
@@ -33,6 +33,8 @@ | |||
33 | #include <mach/iomux-mx3.h> | 33 | #include <mach/iomux-mx3.h> |
34 | #include <mach/board-pcm037.h> | 34 | #include <mach/board-pcm037.h> |
35 | 35 | ||
36 | #include "devices.h" | ||
37 | |||
36 | static struct physmap_flash_data pcm037_flash_data = { | 38 | static struct physmap_flash_data pcm037_flash_data = { |
37 | .width = 2, | 39 | .width = 2, |
38 | }; | 40 | }; |
@@ -73,12 +75,12 @@ static void __init mxc_board_init(void) | |||
73 | mxc_iomux_mode(MX31_PIN_TXD1__TXD1); | 75 | mxc_iomux_mode(MX31_PIN_TXD1__TXD1); |
74 | mxc_iomux_mode(MX31_PIN_RXD1__RXD1); | 76 | mxc_iomux_mode(MX31_PIN_RXD1__RXD1); |
75 | 77 | ||
76 | imx_init_uart(0, &uart_pdata); | 78 | mxc_register_device(&mxc_uart_device0, &uart_pdata); |
77 | 79 | ||
78 | mxc_iomux_mode(MX31_PIN_CSPI3_MOSI__RXD3); | 80 | mxc_iomux_mode(MX31_PIN_CSPI3_MOSI__RXD3); |
79 | mxc_iomux_mode(MX31_PIN_CSPI3_MISO__TXD3); | 81 | mxc_iomux_mode(MX31_PIN_CSPI3_MISO__TXD3); |
80 | 82 | ||
81 | imx_init_uart(2, &uart_pdata); | 83 | mxc_register_device(&mxc_uart_device2, &uart_pdata); |
82 | } | 84 | } |
83 | 85 | ||
84 | /* | 86 | /* |