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/crisv10.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/crisv10.c')
-rw-r--r-- | drivers/serial/crisv10.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c index 8b9af73c1d59..f9fa237aa949 100644 --- a/drivers/serial/crisv10.c +++ b/drivers/serial/crisv10.c | |||
@@ -1788,7 +1788,7 @@ static unsigned int handle_descr_data(struct e100_serial *info, | |||
1788 | 1788 | ||
1789 | if (info->recv_cnt + recvl > 65536) { | 1789 | if (info->recv_cnt + recvl > 65536) { |
1790 | printk(KERN_CRIT | 1790 | printk(KERN_CRIT |
1791 | "%s: Too much pending incoming serial data! Dropping %u bytes.\n", __FUNCTION__, recvl); | 1791 | "%s: Too much pending incoming serial data! Dropping %u bytes.\n", __func__, recvl); |
1792 | return 0; | 1792 | return 0; |
1793 | } | 1793 | } |
1794 | 1794 | ||
@@ -1801,7 +1801,7 @@ static unsigned int handle_descr_data(struct e100_serial *info, | |||
1801 | append_recv_buffer(info, buffer); | 1801 | append_recv_buffer(info, buffer); |
1802 | 1802 | ||
1803 | if (!(buffer = alloc_recv_buffer(SERIAL_DESCR_BUF_SIZE))) | 1803 | if (!(buffer = alloc_recv_buffer(SERIAL_DESCR_BUF_SIZE))) |
1804 | panic("%s: Failed to allocate memory for receive buffer!\n", __FUNCTION__); | 1804 | panic("%s: Failed to allocate memory for receive buffer!\n", __func__); |
1805 | 1805 | ||
1806 | descr->buf = virt_to_phys(buffer->buffer); | 1806 | descr->buf = virt_to_phys(buffer->buffer); |
1807 | 1807 | ||
@@ -1925,7 +1925,7 @@ static int start_recv_dma(struct e100_serial *info) | |||
1925 | /* Set up the receiving descriptors */ | 1925 | /* Set up the receiving descriptors */ |
1926 | for (i = 0; i < SERIAL_RECV_DESCRIPTORS; i++) { | 1926 | for (i = 0; i < SERIAL_RECV_DESCRIPTORS; i++) { |
1927 | if (!(buffer = alloc_recv_buffer(SERIAL_DESCR_BUF_SIZE))) | 1927 | if (!(buffer = alloc_recv_buffer(SERIAL_DESCR_BUF_SIZE))) |
1928 | panic("%s: Failed to allocate memory for receive buffer!\n", __FUNCTION__); | 1928 | panic("%s: Failed to allocate memory for receive buffer!\n", __func__); |
1929 | 1929 | ||
1930 | descr[i].ctrl = d_int; | 1930 | descr[i].ctrl = d_int; |
1931 | descr[i].buf = virt_to_phys(buffer->buffer); | 1931 | descr[i].buf = virt_to_phys(buffer->buffer); |
@@ -4519,7 +4519,7 @@ rs_init(void) | |||
4519 | 4519 | ||
4520 | if (request_irq(SERIAL_IRQ_NBR, ser_interrupt, | 4520 | if (request_irq(SERIAL_IRQ_NBR, ser_interrupt, |
4521 | IRQF_SHARED | IRQF_DISABLED, "serial ", driver)) | 4521 | IRQF_SHARED | IRQF_DISABLED, "serial ", driver)) |
4522 | panic("%s: Failed to request irq8", __FUNCTION__); | 4522 | panic("%s: Failed to request irq8", __func__); |
4523 | 4523 | ||
4524 | #endif | 4524 | #endif |
4525 | #endif /* CONFIG_SVINTO_SIM */ | 4525 | #endif /* CONFIG_SVINTO_SIM */ |