Skip to contentSkip to conversation

serial/imx: fix IMX UART macro usage to reflect correct

PATCH In review Oskar Schirmer 2 participants 2 messages Sep 10, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial/imx: fix IMX UART macro usage to reflect correct

Platform dependant UART data refers to MX31 macro for MX35 machines. For all other machines, macro usage matches machine type.

Though this compiles out to the same result, it looks much like a typo, so fix it to use the right macros instead.

---
 arch/arm/plat-mxc/devices/platform-imx-uart.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/plat-mxc/devices/platform-imx-uart.c +1 -1
index 2020d84..d390f00 100644
@@ -87,7 +87,7 @@ const struct imx_imx_uart_1irq_data imx31_imx_uart_data[] __initconst = {
 #ifdef CONFIG_SOC_IMX35
 const struct imx_imx_uart_1irq_data imx35_imx_uart_data[] __initconst = {
 #define imx35_imx_uart_data_entry(_id, _hwid)				\
-	imx_imx_uart_1irq_data_entry(MX31, _id, _hwid, SZ_16K)
+	imx_imx_uart_1irq_data_entry(MX35, _id, _hwid, SZ_16K)
 	imx35_imx_uart_data_entry(0, 1),
 	imx35_imx_uart_data_entry(1, 2),
 	imx35_imx_uart_data_entry(2, 3),
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Oskar Schirmer

Platform dependant UART data refers to MX31 macro for MX35 machines. For all other machines, macro usage matches machine type.

Though this compiles out to the same result, it looks much like a typo, so fix it to use the right macros instead.

Thanks
Uwe