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/s3c2410.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/s3c2410.c')
-rw-r--r-- | drivers/serial/s3c2410.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c index da5a02cb4f63..2b6a013639e6 100644 --- a/drivers/serial/s3c2410.c +++ b/drivers/serial/s3c2410.c | |||
@@ -1096,13 +1096,13 @@ static int s3c24xx_serial_probe(struct platform_device *dev, | |||
1096 | ourport = &s3c24xx_serial_ports[probe_index]; | 1096 | ourport = &s3c24xx_serial_ports[probe_index]; |
1097 | probe_index++; | 1097 | probe_index++; |
1098 | 1098 | ||
1099 | dbg("%s: initialising port %p...\n", __FUNCTION__, ourport); | 1099 | dbg("%s: initialising port %p...\n", __func__, ourport); |
1100 | 1100 | ||
1101 | ret = s3c24xx_serial_init_port(ourport, info, dev); | 1101 | ret = s3c24xx_serial_init_port(ourport, info, dev); |
1102 | if (ret < 0) | 1102 | if (ret < 0) |
1103 | goto probe_err; | 1103 | goto probe_err; |
1104 | 1104 | ||
1105 | dbg("%s: adding port\n", __FUNCTION__); | 1105 | dbg("%s: adding port\n", __func__); |
1106 | uart_add_one_port(&s3c24xx_uart_drv, &ourport->port); | 1106 | uart_add_one_port(&s3c24xx_uart_drv, &ourport->port); |
1107 | platform_set_drvdata(dev, &ourport->port); | 1107 | platform_set_drvdata(dev, &ourport->port); |
1108 | 1108 | ||
@@ -1587,7 +1587,7 @@ static int s3c2412_serial_resetport(struct uart_port *port, | |||
1587 | unsigned long ucon = rd_regl(port, S3C2410_UCON); | 1587 | unsigned long ucon = rd_regl(port, S3C2410_UCON); |
1588 | 1588 | ||
1589 | dbg("%s: port=%p (%08lx), cfg=%p\n", | 1589 | dbg("%s: port=%p (%08lx), cfg=%p\n", |
1590 | __FUNCTION__, port, port->mapbase, cfg); | 1590 | __func__, port, port->mapbase, cfg); |
1591 | 1591 | ||
1592 | /* ensure we don't change the clock settings... */ | 1592 | /* ensure we don't change the clock settings... */ |
1593 | 1593 | ||