diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-30 03:55:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:54 -0400 |
commit | 71cc2c2152170b8166f59abb0604dc62073aeb92 (patch) | |
tree | a33d71f73b55fa1cb43d38fc108faba20b24b64c /drivers/serial/cpm_uart | |
parent | bf9d89295233ae2ba7b312c78ee5657307b09f4c (diff) |
serial: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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 | ||