aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/cpm_uart
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/cpm_uart')
-rw-r--r--drivers/serial/cpm_uart/cpm_uart_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c
index dfa06b644957..24613a68f5cc 100644
--- a/drivers/serial/cpm_uart/cpm_uart_core.c
+++ b/drivers/serial/cpm_uart/cpm_uart_core.c
@@ -1180,7 +1180,7 @@ static int __init cpm_uart_console_setup(struct console *co, char *options)
1180 pdata = pdev->dev.platform_data; 1180 pdata = pdev->dev.platform_data;
1181 if (pdata) 1181 if (pdata)
1182 if (pdata->init_ioports) 1182 if (pdata->init_ioports)
1183 pdata->init_ioports(); 1183 pdata->init_ioports(pdata);
1184 1184
1185 cpm_uart_drv_get_platform_data(pdev, 1); 1185 cpm_uart_drv_get_platform_data(pdev, 1);
1186 } 1186 }
@@ -1269,7 +1269,7 @@ static int cpm_uart_drv_probe(struct device *dev)
1269 return ret; 1269 return ret;
1270 1270
1271 if (pdata->init_ioports) 1271 if (pdata->init_ioports)
1272 pdata->init_ioports(); 1272 pdata->init_ioports(pdata);
1273 1273
1274 ret = uart_add_one_port(&cpm_reg, &cpm_uart_ports[pdata->fs_no].port); 1274 ret = uart_add_one_port(&cpm_reg, &cpm_uart_ports[pdata->fs_no].port);
1275 1275