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/sn_console.c | |
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/sn_console.c')
-rw-r--r-- | drivers/serial/sn_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sn_console.c b/drivers/serial/sn_console.c index 41fc61264443..019da2e05f0b 100644 --- a/drivers/serial/sn_console.c +++ b/drivers/serial/sn_console.c | |||
@@ -839,7 +839,7 @@ static int __init sn_sal_module_init(void) | |||
839 | 839 | ||
840 | if (uart_add_one_port(&sal_console_uart, &sal_console_port.sc_port) < 0) { | 840 | if (uart_add_one_port(&sal_console_uart, &sal_console_port.sc_port) < 0) { |
841 | /* error - not sure what I'd do - so I'll do nothing */ | 841 | /* error - not sure what I'd do - so I'll do nothing */ |
842 | printk(KERN_ERR "%s: unable to add port\n", __FUNCTION__); | 842 | printk(KERN_ERR "%s: unable to add port\n", __func__); |
843 | } | 843 | } |
844 | 844 | ||
845 | /* when this driver is compiled in, the console initialization | 845 | /* when this driver is compiled in, the console initialization |