diff options
Diffstat (limited to 'drivers/serial/cpm_uart')
-rw-r--r-- | drivers/serial/cpm_uart/cpm_uart_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c index a638ba0679ac..a19dc7ef8861 100644 --- a/drivers/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/serial/cpm_uart/cpm_uart_core.c | |||
@@ -1117,7 +1117,7 @@ int cpm_uart_drv_get_platform_data(struct platform_device *pdev, int is_con) | |||
1117 | 1117 | ||
1118 | line = cpm_uart_id2nr(idx); | 1118 | line = cpm_uart_id2nr(idx); |
1119 | if(line < 0) { | 1119 | if(line < 0) { |
1120 | printk(KERN_ERR"%s(): port %d is not registered", __FUNCTION__, idx); | 1120 | printk(KERN_ERR"%s(): port %d is not registered", __func__, idx); |
1121 | return -EINVAL; | 1121 | return -EINVAL; |
1122 | } | 1122 | } |
1123 | 1123 | ||