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 | |
| 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')
| -rw-r--r-- | drivers/serial/68360serial.c | 4 | ||||
| -rw-r--r-- | drivers/serial/8250_early.c | 2 | ||||
| -rw-r--r-- | drivers/serial/bfin_5xx.c | 4 | ||||
| -rw-r--r-- | drivers/serial/cpm_uart/cpm_uart_core.c | 2 | ||||
| -rw-r--r-- | drivers/serial/crisv10.c | 8 | ||||
| -rw-r--r-- | drivers/serial/ioc3_serial.c | 36 | ||||
| -rw-r--r-- | drivers/serial/ioc4_serial.c | 32 | ||||
| -rw-r--r-- | drivers/serial/s3c2410.c | 6 | ||||
| -rw-r--r-- | drivers/serial/sa1100.c | 4 | ||||
| -rw-r--r-- | drivers/serial/sh-sci.c | 2 | ||||
| -rw-r--r-- | drivers/serial/sn_console.c | 2 | ||||
| -rw-r--r-- | drivers/serial/uartlite.c | 2 | ||||
| -rw-r--r-- | drivers/serial/ucc_uart.c | 4 |
13 files changed, 54 insertions, 54 deletions
diff --git a/drivers/serial/68360serial.c b/drivers/serial/68360serial.c index 4714bd697af2..d9d4e9552a4d 100644 --- a/drivers/serial/68360serial.c +++ b/drivers/serial/68360serial.c | |||
| @@ -1247,7 +1247,7 @@ static int rs_360_tiocmget(struct tty_struct *tty, struct file *file) | |||
| 1247 | #ifdef modem_control | 1247 | #ifdef modem_control |
| 1248 | unsigned char control, status; | 1248 | unsigned char control, status; |
| 1249 | 1249 | ||
| 1250 | if (serial_paranoia_check(info, tty->name, __FUNCTION__)) | 1250 | if (serial_paranoia_check(info, tty->name, __func__)) |
| 1251 | return -ENODEV; | 1251 | return -ENODEV; |
| 1252 | 1252 | ||
| 1253 | if (tty->flags & (1 << TTY_IO_ERROR)) | 1253 | if (tty->flags & (1 << TTY_IO_ERROR)) |
| @@ -1278,7 +1278,7 @@ static int rs_360_tiocmset(struct tty_struct *tty, struct file *file, | |||
| 1278 | ser_info_t *info = (ser_info_t *)tty->driver_data; | 1278 | ser_info_t *info = (ser_info_t *)tty->driver_data; |
| 1279 | unsigned int arg; | 1279 | unsigned int arg; |
| 1280 | 1280 | ||
| 1281 | if (serial_paranoia_check(info, tty->name, __FUNCTION__)) | 1281 | if (serial_paranoia_check(info, tty->name, __func__)) |
| 1282 | return -ENODEV; | 1282 | return -ENODEV; |
| 1283 | 1283 | ||
| 1284 | if (tty->flags & (1 << TTY_IO_ERROR)) | 1284 | if (tty->flags & (1 << TTY_IO_ERROR)) |
diff --git a/drivers/serial/8250_early.c b/drivers/serial/8250_early.c index 38776e8b064b..cd898704ba4f 100644 --- a/drivers/serial/8250_early.c +++ b/drivers/serial/8250_early.c | |||
| @@ -156,7 +156,7 @@ static int __init parse_options(struct early_serial8250_device *device, | |||
| 156 | port->membase = ioremap(port->mapbase, 64); | 156 | port->membase = ioremap(port->mapbase, 64); |
| 157 | if (!port->membase) { | 157 | if (!port->membase) { |
| 158 | printk(KERN_ERR "%s: Couldn't ioremap 0x%llx\n", | 158 | printk(KERN_ERR "%s: Couldn't ioremap 0x%llx\n", |
| 159 | __FUNCTION__, | 159 | __func__, |
| 160 | (unsigned long long)port->mapbase); | 160 | (unsigned long long)port->mapbase); |
| 161 | return -ENOMEM; | 161 | return -ENOMEM; |
| 162 | } | 162 | } |
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index 5f55534a290b..8a2f6a1baa74 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c | |||
| @@ -762,7 +762,7 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios, | |||
| 762 | break; | 762 | break; |
| 763 | default: | 763 | default: |
| 764 | printk(KERN_ERR "%s: word lengh not supported\n", | 764 | printk(KERN_ERR "%s: word lengh not supported\n", |
| 765 | __FUNCTION__); | 765 | __func__); |
| 766 | } | 766 | } |
| 767 | 767 | ||
| 768 | if (termios->c_cflag & CSTOPB) | 768 | if (termios->c_cflag & CSTOPB) |
| @@ -1029,7 +1029,7 @@ bfin_serial_console_get_options(struct bfin_serial_port *uart, int *baud, | |||
| 1029 | 1029 | ||
| 1030 | *baud = get_sclk() / (16*(dll | dlh << 8)); | 1030 | *baud = get_sclk() / (16*(dll | dlh << 8)); |
| 1031 | } | 1031 | } |
| 1032 | pr_debug("%s:baud = %d, parity = %c, bits= %d\n", __FUNCTION__, *baud, *parity, *bits); | 1032 | pr_debug("%s:baud = %d, parity = %c, bits= %d\n", __func__, *baud, *parity, *bits); |
| 1033 | } | 1033 | } |
| 1034 | #endif | 1034 | #endif |
| 1035 | 1035 | ||
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 | ||
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 */ |
diff --git a/drivers/serial/ioc3_serial.c b/drivers/serial/ioc3_serial.c index 168073f12cec..4f1af71e9a1b 100644 --- a/drivers/serial/ioc3_serial.c +++ b/drivers/serial/ioc3_serial.c | |||
| @@ -52,7 +52,7 @@ static unsigned int Submodule_slot; | |||
| 52 | #define DPRINT_CONFIG(_x...) ; | 52 | #define DPRINT_CONFIG(_x...) ; |
| 53 | //#define DPRINT_CONFIG(_x...) printk _x | 53 | //#define DPRINT_CONFIG(_x...) printk _x |
| 54 | #define NOT_PROGRESS() ; | 54 | #define NOT_PROGRESS() ; |
| 55 | //#define NOT_PROGRESS() printk("%s : fails %d\n", __FUNCTION__, __LINE__) | 55 | //#define NOT_PROGRESS() printk("%s : fails %d\n", __func__, __LINE__) |
| 56 | 56 | ||
| 57 | /* number of characters we want to transmit to the lower level at a time */ | 57 | /* number of characters we want to transmit to the lower level at a time */ |
| 58 | #define MAX_CHARS 256 | 58 | #define MAX_CHARS 256 |
| @@ -445,7 +445,7 @@ static int inline port_init(struct ioc3_port *port) | |||
| 445 | sbbr_h = &idd->vma->sbbr_h; | 445 | sbbr_h = &idd->vma->sbbr_h; |
| 446 | ring_pci_addr = (unsigned long __iomem)port->ip_dma_ringbuf; | 446 | ring_pci_addr = (unsigned long __iomem)port->ip_dma_ringbuf; |
| 447 | DPRINT_CONFIG(("%s: ring_pci_addr 0x%p\n", | 447 | DPRINT_CONFIG(("%s: ring_pci_addr 0x%p\n", |
| 448 | __FUNCTION__, (void *)ring_pci_addr)); | 448 | __func__, (void *)ring_pci_addr)); |
| 449 | 449 | ||
| 450 | writel((unsigned int)((uint64_t) ring_pci_addr >> 32), sbbr_h); | 450 | writel((unsigned int)((uint64_t) ring_pci_addr >> 32), sbbr_h); |
| 451 | writel((unsigned int)ring_pci_addr | BUF_SIZE_BIT, sbbr_l); | 451 | writel((unsigned int)ring_pci_addr | BUF_SIZE_BIT, sbbr_l); |
| @@ -593,7 +593,7 @@ config_port(struct ioc3_port *port, | |||
| 593 | 593 | ||
| 594 | DPRINT_CONFIG(("%s: line %d baud %d byte_size %d stop %d parenb %d " | 594 | DPRINT_CONFIG(("%s: line %d baud %d byte_size %d stop %d parenb %d " |
| 595 | "parodd %d\n", | 595 | "parodd %d\n", |
| 596 | __FUNCTION__, ((struct uart_port *)port->ip_port)->line, | 596 | __func__, ((struct uart_port *)port->ip_port)->line, |
| 597 | baud, byte_size, stop_bits, parenb, parodd)); | 597 | baud, byte_size, stop_bits, parenb, parodd)); |
| 598 | 598 | ||
| 599 | if (set_baud(port, baud)) | 599 | if (set_baud(port, baud)) |
| @@ -871,14 +871,14 @@ static int ioc3_set_proto(struct ioc3_port *port, int proto) | |||
| 871 | default: | 871 | default: |
| 872 | case PROTO_RS232: | 872 | case PROTO_RS232: |
| 873 | /* Clear the appropriate GIO pin */ | 873 | /* Clear the appropriate GIO pin */ |
| 874 | DPRINT_CONFIG(("%s: rs232\n", __FUNCTION__)); | 874 | DPRINT_CONFIG(("%s: rs232\n", __func__)); |
| 875 | writel(0, (&port->ip_idd->vma->gppr[0] | 875 | writel(0, (&port->ip_idd->vma->gppr[0] |
| 876 | + hooks->rs422_select_pin)); | 876 | + hooks->rs422_select_pin)); |
| 877 | break; | 877 | break; |
| 878 | 878 | ||
| 879 | case PROTO_RS422: | 879 | case PROTO_RS422: |
| 880 | /* Set the appropriate GIO pin */ | 880 | /* Set the appropriate GIO pin */ |
| 881 | DPRINT_CONFIG(("%s: rs422\n", __FUNCTION__)); | 881 | DPRINT_CONFIG(("%s: rs422\n", __func__)); |
| 882 | writel(1, (&port->ip_idd->vma->gppr[0] | 882 | writel(1, (&port->ip_idd->vma->gppr[0] |
| 883 | + hooks->rs422_select_pin)); | 883 | + hooks->rs422_select_pin)); |
| 884 | break; | 884 | break; |
| @@ -988,7 +988,7 @@ ioc3_change_speed(struct uart_port *the_port, | |||
| 988 | } | 988 | } |
| 989 | baud = uart_get_baud_rate(the_port, new_termios, old_termios, | 989 | baud = uart_get_baud_rate(the_port, new_termios, old_termios, |
| 990 | MIN_BAUD_SUPPORTED, MAX_BAUD_SUPPORTED); | 990 | MIN_BAUD_SUPPORTED, MAX_BAUD_SUPPORTED); |
| 991 | DPRINT_CONFIG(("%s: returned baud %d for line %d\n", __FUNCTION__, baud, | 991 | DPRINT_CONFIG(("%s: returned baud %d for line %d\n", __func__, baud, |
| 992 | the_port->line)); | 992 | the_port->line)); |
| 993 | 993 | ||
| 994 | if (!the_port->fifosize) | 994 | if (!the_port->fifosize) |
| @@ -1026,7 +1026,7 @@ ioc3_change_speed(struct uart_port *the_port, | |||
| 1026 | DPRINT_CONFIG(("%s : port 0x%p line %d cflag 0%o " | 1026 | DPRINT_CONFIG(("%s : port 0x%p line %d cflag 0%o " |
| 1027 | "config_port(baud %d data %d stop %d penable %d " | 1027 | "config_port(baud %d data %d stop %d penable %d " |
| 1028 | " parity %d), notification 0x%x\n", | 1028 | " parity %d), notification 0x%x\n", |
| 1029 | __FUNCTION__, (void *)port, the_port->line, cflag, baud, | 1029 | __func__, (void *)port, the_port->line, cflag, baud, |
| 1030 | new_data, new_stop, new_parity_enable, new_parity, | 1030 | new_data, new_stop, new_parity_enable, new_parity, |
| 1031 | the_port->ignore_status_mask)); | 1031 | the_port->ignore_status_mask)); |
| 1032 | 1032 | ||
| @@ -1919,7 +1919,7 @@ static inline int ioc3_serial_core_attach( struct ioc3_submodule *is, | |||
| 1919 | struct pci_dev *pdev = idd->pdev; | 1919 | struct pci_dev *pdev = idd->pdev; |
| 1920 | 1920 | ||
| 1921 | DPRINT_CONFIG(("%s: attach pdev 0x%p - card_ptr 0x%p\n", | 1921 | DPRINT_CONFIG(("%s: attach pdev 0x%p - card_ptr 0x%p\n", |
| 1922 | __FUNCTION__, pdev, (void *)card_ptr)); | 1922 | __func__, pdev, (void *)card_ptr)); |
| 1923 | 1923 | ||
| 1924 | if (!card_ptr) | 1924 | if (!card_ptr) |
| 1925 | return -ENODEV; | 1925 | return -ENODEV; |
| @@ -1933,7 +1933,7 @@ static inline int ioc3_serial_core_attach( struct ioc3_submodule *is, | |||
| 1933 | port->ip_port = the_port; | 1933 | port->ip_port = the_port; |
| 1934 | 1934 | ||
| 1935 | DPRINT_CONFIG(("%s: attach the_port 0x%p / port 0x%p [%d/%d]\n", | 1935 | DPRINT_CONFIG(("%s: attach the_port 0x%p / port 0x%p [%d/%d]\n", |
| 1936 | __FUNCTION__, (void *)the_port, (void *)port, | 1936 | __func__, (void *)the_port, (void *)port, |
| 1937 | phys_port, ii)); | 1937 | phys_port, ii)); |
| 1938 | 1938 | ||
| 1939 | /* membase, iobase and mapbase just need to be non-0 */ | 1939 | /* membase, iobase and mapbase just need to be non-0 */ |
| @@ -1950,7 +1950,7 @@ static inline int ioc3_serial_core_attach( struct ioc3_submodule *is, | |||
| 1950 | if (uart_add_one_port(&ioc3_uart, the_port) < 0) { | 1950 | if (uart_add_one_port(&ioc3_uart, the_port) < 0) { |
| 1951 | printk(KERN_WARNING | 1951 | printk(KERN_WARNING |
| 1952 | "%s: unable to add port %d bus %d\n", | 1952 | "%s: unable to add port %d bus %d\n", |
| 1953 | __FUNCTION__, the_port->line, pdev->bus->number); | 1953 | __func__, the_port->line, pdev->bus->number); |
| 1954 | } else { | 1954 | } else { |
| 1955 | DPRINT_CONFIG(("IOC3 serial port %d irq %d bus %d\n", | 1955 | DPRINT_CONFIG(("IOC3 serial port %d irq %d bus %d\n", |
| 1956 | the_port->line, the_port->irq, pdev->bus->number)); | 1956 | the_port->line, the_port->irq, pdev->bus->number)); |
| @@ -2017,7 +2017,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd) | |||
| 2017 | struct ioc3_port *ports[PORTS_PER_CARD]; | 2017 | struct ioc3_port *ports[PORTS_PER_CARD]; |
| 2018 | int phys_port; | 2018 | int phys_port; |
| 2019 | 2019 | ||
| 2020 | DPRINT_CONFIG(("%s (0x%p, 0x%p)\n", __FUNCTION__, is, idd)); | 2020 | DPRINT_CONFIG(("%s (0x%p, 0x%p)\n", __func__, is, idd)); |
| 2021 | 2021 | ||
| 2022 | card_ptr = kzalloc(sizeof(struct ioc3_card), GFP_KERNEL); | 2022 | card_ptr = kzalloc(sizeof(struct ioc3_card), GFP_KERNEL); |
| 2023 | if (!card_ptr) { | 2023 | if (!card_ptr) { |
| @@ -2067,7 +2067,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd) | |||
| 2067 | 2067 | ||
| 2068 | DPRINT_CONFIG(("%s : Port A ip_serial_regs 0x%p " | 2068 | DPRINT_CONFIG(("%s : Port A ip_serial_regs 0x%p " |
| 2069 | "ip_uart_regs 0x%p\n", | 2069 | "ip_uart_regs 0x%p\n", |
| 2070 | __FUNCTION__, | 2070 | __func__, |
| 2071 | (void *)port->ip_serial_regs, | 2071 | (void *)port->ip_serial_regs, |
| 2072 | (void *)port->ip_uart_regs)); | 2072 | (void *)port->ip_uart_regs)); |
| 2073 | 2073 | ||
| @@ -2082,7 +2082,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd) | |||
| 2082 | DPRINT_CONFIG(("%s : Port A ip_cpu_ringbuf 0x%p " | 2082 | DPRINT_CONFIG(("%s : Port A ip_cpu_ringbuf 0x%p " |
| 2083 | "ip_dma_ringbuf 0x%p, ip_inring 0x%p " | 2083 | "ip_dma_ringbuf 0x%p, ip_inring 0x%p " |
| 2084 | "ip_outring 0x%p\n", | 2084 | "ip_outring 0x%p\n", |
| 2085 | __FUNCTION__, | 2085 | __func__, |
| 2086 | (void *)port->ip_cpu_ringbuf, | 2086 | (void *)port->ip_cpu_ringbuf, |
| 2087 | (void *)port->ip_dma_ringbuf, | 2087 | (void *)port->ip_dma_ringbuf, |
| 2088 | (void *)port->ip_inring, | 2088 | (void *)port->ip_inring, |
| @@ -2094,7 +2094,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd) | |||
| 2094 | 2094 | ||
| 2095 | DPRINT_CONFIG(("%s : Port B ip_serial_regs 0x%p " | 2095 | DPRINT_CONFIG(("%s : Port B ip_serial_regs 0x%p " |
| 2096 | "ip_uart_regs 0x%p\n", | 2096 | "ip_uart_regs 0x%p\n", |
| 2097 | __FUNCTION__, | 2097 | __func__, |
| 2098 | (void *)port->ip_serial_regs, | 2098 | (void *)port->ip_serial_regs, |
| 2099 | (void *)port->ip_uart_regs)); | 2099 | (void *)port->ip_uart_regs)); |
| 2100 | 2100 | ||
| @@ -2108,7 +2108,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd) | |||
| 2108 | DPRINT_CONFIG(("%s : Port B ip_cpu_ringbuf 0x%p " | 2108 | DPRINT_CONFIG(("%s : Port B ip_cpu_ringbuf 0x%p " |
| 2109 | "ip_dma_ringbuf 0x%p, ip_inring 0x%p " | 2109 | "ip_dma_ringbuf 0x%p, ip_inring 0x%p " |
| 2110 | "ip_outring 0x%p\n", | 2110 | "ip_outring 0x%p\n", |
| 2111 | __FUNCTION__, | 2111 | __func__, |
| 2112 | (void *)port->ip_cpu_ringbuf, | 2112 | (void *)port->ip_cpu_ringbuf, |
| 2113 | (void *)port->ip_dma_ringbuf, | 2113 | (void *)port->ip_dma_ringbuf, |
| 2114 | (void *)port->ip_inring, | 2114 | (void *)port->ip_inring, |
| @@ -2116,7 +2116,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd) | |||
| 2116 | } | 2116 | } |
| 2117 | 2117 | ||
| 2118 | DPRINT_CONFIG(("%s : port %d [addr 0x%p] card_ptr 0x%p", | 2118 | DPRINT_CONFIG(("%s : port %d [addr 0x%p] card_ptr 0x%p", |
| 2119 | __FUNCTION__, | 2119 | __func__, |
| 2120 | phys_port, (void *)port, (void *)card_ptr)); | 2120 | phys_port, (void *)port, (void *)card_ptr)); |
| 2121 | DPRINT_CONFIG((" ip_serial_regs 0x%p ip_uart_regs 0x%p\n", | 2121 | DPRINT_CONFIG((" ip_serial_regs 0x%p ip_uart_regs 0x%p\n", |
| 2122 | (void *)port->ip_serial_regs, | 2122 | (void *)port->ip_serial_regs, |
| @@ -2127,7 +2127,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd) | |||
| 2127 | 2127 | ||
| 2128 | DPRINT_CONFIG(("%s: phys_port %d port 0x%p inring 0x%p " | 2128 | DPRINT_CONFIG(("%s: phys_port %d port 0x%p inring 0x%p " |
| 2129 | "outring 0x%p\n", | 2129 | "outring 0x%p\n", |
| 2130 | __FUNCTION__, | 2130 | __func__, |
| 2131 | phys_port, (void *)port, | 2131 | phys_port, (void *)port, |
| 2132 | (void *)port->ip_inring, | 2132 | (void *)port->ip_inring, |
| 2133 | (void *)port->ip_outring)); | 2133 | (void *)port->ip_outring)); |
| @@ -2170,7 +2170,7 @@ static int __devinit ioc3uart_init(void) | |||
| 2170 | if ((ret = uart_register_driver(&ioc3_uart)) < 0) { | 2170 | if ((ret = uart_register_driver(&ioc3_uart)) < 0) { |
| 2171 | printk(KERN_WARNING | 2171 | printk(KERN_WARNING |
| 2172 | "%s: Couldn't register IOC3 uart serial driver\n", | 2172 | "%s: Couldn't register IOC3 uart serial driver\n", |
| 2173 | __FUNCTION__); | 2173 | __func__); |
| 2174 | return ret; | 2174 | return ret; |
| 2175 | } | 2175 | } |
| 2176 | ret = ioc3_register_submodule(&ioc3uart_submodule); | 2176 | ret = ioc3_register_submodule(&ioc3uart_submodule); |
diff --git a/drivers/serial/ioc4_serial.c b/drivers/serial/ioc4_serial.c index 0c179384fb0c..49b8a82b7b9f 100644 --- a/drivers/serial/ioc4_serial.c +++ b/drivers/serial/ioc4_serial.c | |||
| @@ -889,7 +889,7 @@ static int inline port_init(struct ioc4_port *port) | |||
| 889 | 889 | ||
| 890 | ring_pci_addr = (unsigned long __iomem)port->ip_dma_ringbuf; | 890 | ring_pci_addr = (unsigned long __iomem)port->ip_dma_ringbuf; |
| 891 | DPRINT_CONFIG(("%s: ring_pci_addr 0x%lx\n", | 891 | DPRINT_CONFIG(("%s: ring_pci_addr 0x%lx\n", |
| 892 | __FUNCTION__, ring_pci_addr)); | 892 | __func__, ring_pci_addr)); |
| 893 | 893 | ||
| 894 | writel((unsigned int)((uint64_t)ring_pci_addr >> 32), sbbr_h); | 894 | writel((unsigned int)((uint64_t)ring_pci_addr >> 32), sbbr_h); |
| 895 | writel((unsigned int)ring_pci_addr | IOC4_BUF_SIZE_BIT, sbbr_l); | 895 | writel((unsigned int)ring_pci_addr | IOC4_BUF_SIZE_BIT, sbbr_l); |
| @@ -1028,7 +1028,7 @@ static irqreturn_t ioc4_intr(int irq, void *arg) | |||
| 1028 | spin_lock_irqsave(&soft->is_ir_lock, flag); | 1028 | spin_lock_irqsave(&soft->is_ir_lock, flag); |
| 1029 | printk ("%s : %d : mem 0x%p sio_ir 0x%x sio_ies 0x%x " | 1029 | printk ("%s : %d : mem 0x%p sio_ir 0x%x sio_ies 0x%x " |
| 1030 | "other_ir 0x%x other_ies 0x%x mask 0x%x\n", | 1030 | "other_ir 0x%x other_ies 0x%x mask 0x%x\n", |
| 1031 | __FUNCTION__, __LINE__, | 1031 | __func__, __LINE__, |
| 1032 | (void *)mem, readl(&mem->sio_ir.raw), | 1032 | (void *)mem, readl(&mem->sio_ir.raw), |
| 1033 | readl(&mem->sio_ies.raw), | 1033 | readl(&mem->sio_ies.raw), |
| 1034 | readl(&mem->other_ir.raw), | 1034 | readl(&mem->other_ir.raw), |
| @@ -1155,14 +1155,14 @@ static int inline ioc4_attach_local(struct ioc4_driver_data *idd) | |||
| 1155 | (TOTAL_RING_BUF_SIZE - 1)) == 0)); | 1155 | (TOTAL_RING_BUF_SIZE - 1)) == 0)); |
| 1156 | DPRINT_CONFIG(("%s : ip_cpu_ringbuf 0x%p " | 1156 | DPRINT_CONFIG(("%s : ip_cpu_ringbuf 0x%p " |
| 1157 | "ip_dma_ringbuf 0x%p\n", | 1157 | "ip_dma_ringbuf 0x%p\n", |
| 1158 | __FUNCTION__, | 1158 | __func__, |
| 1159 | (void *)port->ip_cpu_ringbuf, | 1159 | (void *)port->ip_cpu_ringbuf, |
| 1160 | (void *)port->ip_dma_ringbuf)); | 1160 | (void *)port->ip_dma_ringbuf)); |
| 1161 | port->ip_inring = RING(port, RX_0_OR_2); | 1161 | port->ip_inring = RING(port, RX_0_OR_2); |
| 1162 | port->ip_outring = RING(port, TX_0_OR_2); | 1162 | port->ip_outring = RING(port, TX_0_OR_2); |
| 1163 | } | 1163 | } |
| 1164 | DPRINT_CONFIG(("%s : port %d [addr 0x%p] control 0x%p", | 1164 | DPRINT_CONFIG(("%s : port %d [addr 0x%p] control 0x%p", |
| 1165 | __FUNCTION__, | 1165 | __func__, |
| 1166 | port_number, (void *)port, (void *)control)); | 1166 | port_number, (void *)port, (void *)control)); |
| 1167 | DPRINT_CONFIG((" ip_serial_regs 0x%p ip_uart_regs 0x%p\n", | 1167 | DPRINT_CONFIG((" ip_serial_regs 0x%p ip_uart_regs 0x%p\n", |
| 1168 | (void *)port->ip_serial_regs, | 1168 | (void *)port->ip_serial_regs, |
| @@ -1173,7 +1173,7 @@ static int inline ioc4_attach_local(struct ioc4_driver_data *idd) | |||
| 1173 | 1173 | ||
| 1174 | DPRINT_CONFIG(("%s: port_number %d port 0x%p inring 0x%p " | 1174 | DPRINT_CONFIG(("%s: port_number %d port 0x%p inring 0x%p " |
| 1175 | "outring 0x%p\n", | 1175 | "outring 0x%p\n", |
| 1176 | __FUNCTION__, | 1176 | __func__, |
| 1177 | port_number, (void *)port, | 1177 | port_number, (void *)port, |
| 1178 | (void *)port->ip_inring, | 1178 | (void *)port->ip_inring, |
| 1179 | (void *)port->ip_outring)); | 1179 | (void *)port->ip_outring)); |
| @@ -1317,7 +1317,7 @@ config_port(struct ioc4_port *port, | |||
| 1317 | int spiniter = 0; | 1317 | int spiniter = 0; |
| 1318 | 1318 | ||
| 1319 | DPRINT_CONFIG(("%s: baud %d byte_size %d stop %d parenb %d parodd %d\n", | 1319 | DPRINT_CONFIG(("%s: baud %d byte_size %d stop %d parenb %d parodd %d\n", |
| 1320 | __FUNCTION__, baud, byte_size, stop_bits, parenb, parodd)); | 1320 | __func__, baud, byte_size, stop_bits, parenb, parodd)); |
| 1321 | 1321 | ||
| 1322 | if (set_baud(port, baud)) | 1322 | if (set_baud(port, baud)) |
| 1323 | return 1; | 1323 | return 1; |
| @@ -1725,7 +1725,7 @@ ioc4_change_speed(struct uart_port *the_port, | |||
| 1725 | } | 1725 | } |
| 1726 | baud = uart_get_baud_rate(the_port, new_termios, old_termios, | 1726 | baud = uart_get_baud_rate(the_port, new_termios, old_termios, |
| 1727 | MIN_BAUD_SUPPORTED, MAX_BAUD_SUPPORTED); | 1727 | MIN_BAUD_SUPPORTED, MAX_BAUD_SUPPORTED); |
| 1728 | DPRINT_CONFIG(("%s: returned baud %d\n", __FUNCTION__, baud)); | 1728 | DPRINT_CONFIG(("%s: returned baud %d\n", __func__, baud)); |
| 1729 | 1729 | ||
| 1730 | /* default is 9600 */ | 1730 | /* default is 9600 */ |
| 1731 | if (!baud) | 1731 | if (!baud) |
| @@ -1765,7 +1765,7 @@ ioc4_change_speed(struct uart_port *the_port, | |||
| 1765 | DPRINT_CONFIG(("%s : port 0x%p cflag 0%o " | 1765 | DPRINT_CONFIG(("%s : port 0x%p cflag 0%o " |
| 1766 | "config_port(baud %d data %d stop %d p enable %d parity %d)," | 1766 | "config_port(baud %d data %d stop %d p enable %d parity %d)," |
| 1767 | " notification 0x%x\n", | 1767 | " notification 0x%x\n", |
| 1768 | __FUNCTION__, (void *)port, cflag, baud, new_data, new_stop, | 1768 | __func__, (void *)port, cflag, baud, new_data, new_stop, |
| 1769 | new_parity_enable, new_parity, the_port->ignore_status_mask)); | 1769 | new_parity_enable, new_parity, the_port->ignore_status_mask)); |
| 1770 | 1770 | ||
| 1771 | if ((config_port(port, baud, /* baud */ | 1771 | if ((config_port(port, baud, /* baud */ |
| @@ -2715,7 +2715,7 @@ ioc4_serial_core_attach(struct pci_dev *pdev, int port_type) | |||
| 2715 | 2715 | ||
| 2716 | 2716 | ||
| 2717 | DPRINT_CONFIG(("%s: attach pdev 0x%p - control 0x%p\n", | 2717 | DPRINT_CONFIG(("%s: attach pdev 0x%p - control 0x%p\n", |
| 2718 | __FUNCTION__, pdev, (void *)control)); | 2718 | __func__, pdev, (void *)control)); |
| 2719 | 2719 | ||
| 2720 | if (!control) | 2720 | if (!control) |
| 2721 | return -ENODEV; | 2721 | return -ENODEV; |
| @@ -2734,7 +2734,7 @@ ioc4_serial_core_attach(struct pci_dev *pdev, int port_type) | |||
| 2734 | port->ip_all_ports[port_type_idx] = the_port; | 2734 | port->ip_all_ports[port_type_idx] = the_port; |
| 2735 | 2735 | ||
| 2736 | DPRINT_CONFIG(("%s: attach the_port 0x%p / port 0x%p : type %s\n", | 2736 | DPRINT_CONFIG(("%s: attach the_port 0x%p / port 0x%p : type %s\n", |
| 2737 | __FUNCTION__, (void *)the_port, | 2737 | __func__, (void *)the_port, |
| 2738 | (void *)port, | 2738 | (void *)port, |
| 2739 | port_type == PROTO_RS232 ? "rs232" : "rs422")); | 2739 | port_type == PROTO_RS232 ? "rs232" : "rs422")); |
| 2740 | 2740 | ||
| @@ -2752,7 +2752,7 @@ ioc4_serial_core_attach(struct pci_dev *pdev, int port_type) | |||
| 2752 | if (uart_add_one_port(u_driver, the_port) < 0) { | 2752 | if (uart_add_one_port(u_driver, the_port) < 0) { |
| 2753 | printk(KERN_WARNING | 2753 | printk(KERN_WARNING |
| 2754 | "%s: unable to add port %d bus %d\n", | 2754 | "%s: unable to add port %d bus %d\n", |
| 2755 | __FUNCTION__, the_port->line, pdev->bus->number); | 2755 | __func__, the_port->line, pdev->bus->number); |
| 2756 | } else { | 2756 | } else { |
| 2757 | DPRINT_CONFIG( | 2757 | DPRINT_CONFIG( |
| 2758 | ("IOC4 serial port %d irq = %d, bus %d\n", | 2758 | ("IOC4 serial port %d irq = %d, bus %d\n", |
| @@ -2777,7 +2777,7 @@ ioc4_serial_attach_one(struct ioc4_driver_data *idd) | |||
| 2777 | int ret = 0; | 2777 | int ret = 0; |
| 2778 | 2778 | ||
| 2779 | 2779 | ||
| 2780 | DPRINT_CONFIG(("%s (0x%p, 0x%p)\n", __FUNCTION__, idd->idd_pdev, | 2780 | DPRINT_CONFIG(("%s (0x%p, 0x%p)\n", __func__, idd->idd_pdev, |
| 2781 | idd->idd_pci_id)); | 2781 | idd->idd_pci_id)); |
| 2782 | 2782 | ||
| 2783 | /* PCI-RT does not bring out serial connections. | 2783 | /* PCI-RT does not bring out serial connections. |
| @@ -2806,7 +2806,7 @@ ioc4_serial_attach_one(struct ioc4_driver_data *idd) | |||
| 2806 | goto out2; | 2806 | goto out2; |
| 2807 | } | 2807 | } |
| 2808 | DPRINT_CONFIG(("%s : mem 0x%p, serial 0x%p\n", | 2808 | DPRINT_CONFIG(("%s : mem 0x%p, serial 0x%p\n", |
| 2809 | __FUNCTION__, (void *)idd->idd_misc_regs, | 2809 | __func__, (void *)idd->idd_misc_regs, |
| 2810 | (void *)serial)); | 2810 | (void *)serial)); |
| 2811 | 2811 | ||
| 2812 | /* Get memory for the new card */ | 2812 | /* Get memory for the new card */ |
| @@ -2858,7 +2858,7 @@ ioc4_serial_attach_one(struct ioc4_driver_data *idd) | |||
| 2858 | } else { | 2858 | } else { |
| 2859 | printk(KERN_WARNING | 2859 | printk(KERN_WARNING |
| 2860 | "%s : request_irq fails for IRQ 0x%x\n ", | 2860 | "%s : request_irq fails for IRQ 0x%x\n ", |
| 2861 | __FUNCTION__, idd->idd_pdev->irq); | 2861 | __func__, idd->idd_pdev->irq); |
| 2862 | } | 2862 | } |
| 2863 | ret = ioc4_attach_local(idd); | 2863 | ret = ioc4_attach_local(idd); |
| 2864 | if (ret) | 2864 | if (ret) |
| @@ -2911,13 +2911,13 @@ int ioc4_serial_init(void) | |||
| 2911 | if ((ret = uart_register_driver(&ioc4_uart_rs232)) < 0) { | 2911 | if ((ret = uart_register_driver(&ioc4_uart_rs232)) < 0) { |
| 2912 | printk(KERN_WARNING | 2912 | printk(KERN_WARNING |
| 2913 | "%s: Couldn't register rs232 IOC4 serial driver\n", | 2913 | "%s: Couldn't register rs232 IOC4 serial driver\n", |
| 2914 | __FUNCTION__); | 2914 | __func__); |
| 2915 | return ret; | 2915 | return ret; |
| 2916 | } | 2916 | } |
| 2917 | if ((ret = uart_register_driver(&ioc4_uart_rs422)) < 0) { | 2917 | if ((ret = uart_register_driver(&ioc4_uart_rs422)) < 0) { |
| 2918 | printk(KERN_WARNING | 2918 | printk(KERN_WARNING |
| 2919 | "%s: Couldn't register rs422 IOC4 serial driver\n", | 2919 | "%s: Couldn't register rs422 IOC4 serial driver\n", |
| 2920 | __FUNCTION__); | 2920 | __func__); |
| 2921 | return ret; | 2921 | return ret; |
| 2922 | } | 2922 | } |
| 2923 | 2923 | ||
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 | ||
diff --git a/drivers/serial/sa1100.c b/drivers/serial/sa1100.c index 67b2338913c2..62b38582f5e9 100644 --- a/drivers/serial/sa1100.c +++ b/drivers/serial/sa1100.c | |||
| @@ -655,7 +655,7 @@ void __init sa1100_register_uart_fns(struct sa1100_port_fns *fns) | |||
| 655 | void __init sa1100_register_uart(int idx, int port) | 655 | void __init sa1100_register_uart(int idx, int port) |
| 656 | { | 656 | { |
| 657 | if (idx >= NR_PORTS) { | 657 | if (idx >= NR_PORTS) { |
| 658 | printk(KERN_ERR "%s: bad index number %d\n", __FUNCTION__, idx); | 658 | printk(KERN_ERR "%s: bad index number %d\n", __func__, idx); |
| 659 | return; | 659 | return; |
| 660 | } | 660 | } |
| 661 | 661 | ||
| @@ -682,7 +682,7 @@ void __init sa1100_register_uart(int idx, int port) | |||
| 682 | break; | 682 | break; |
| 683 | 683 | ||
| 684 | default: | 684 | default: |
| 685 | printk(KERN_ERR "%s: bad port number %d\n", __FUNCTION__, port); | 685 | printk(KERN_ERR "%s: bad port number %d\n", __func__, port); |
| 686 | } | 686 | } |
| 687 | } | 687 | } |
| 688 | 688 | ||
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index c2ea5d4df44a..969106187718 100644 --- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c | |||
| @@ -855,7 +855,7 @@ static int sci_notifier(struct notifier_block *self, | |||
| 855 | 855 | ||
| 856 | printk(KERN_INFO "%s: got a postchange notification " | 856 | printk(KERN_INFO "%s: got a postchange notification " |
| 857 | "for cpu %d (old %d, new %d)\n", | 857 | "for cpu %d (old %d, new %d)\n", |
| 858 | __FUNCTION__, freqs->cpu, freqs->old, freqs->new); | 858 | __func__, freqs->cpu, freqs->old, freqs->new); |
| 859 | } | 859 | } |
| 860 | 860 | ||
| 861 | return NOTIFY_OK; | 861 | return NOTIFY_OK; |
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 |
diff --git a/drivers/serial/uartlite.c b/drivers/serial/uartlite.c index b565d5a37499..b51c24245be4 100644 --- a/drivers/serial/uartlite.c +++ b/drivers/serial/uartlite.c | |||
| @@ -584,7 +584,7 @@ ulite_of_probe(struct of_device *op, const struct of_device_id *match) | |||
| 584 | const unsigned int *id; | 584 | const unsigned int *id; |
| 585 | int irq, rc; | 585 | int irq, rc; |
| 586 | 586 | ||
| 587 | dev_dbg(&op->dev, "%s(%p, %p)\n", __FUNCTION__, op, match); | 587 | dev_dbg(&op->dev, "%s(%p, %p)\n", __func__, op, match); |
| 588 | 588 | ||
| 589 | rc = of_address_to_resource(op->node, 0, &res); | 589 | rc = of_address_to_resource(op->node, 0, &res); |
| 590 | if (rc) { | 590 | if (rc) { |
diff --git a/drivers/serial/ucc_uart.c b/drivers/serial/ucc_uart.c index 5e4310ccd591..01917c433f17 100644 --- a/drivers/serial/ucc_uart.c +++ b/drivers/serial/ucc_uart.c | |||
| @@ -215,7 +215,7 @@ static inline dma_addr_t cpu2qe_addr(void *addr, struct uart_qe_port *qe_port) | |||
| 215 | return qe_port->bd_dma_addr + (addr - qe_port->bd_virt); | 215 | return qe_port->bd_dma_addr + (addr - qe_port->bd_virt); |
| 216 | 216 | ||
| 217 | /* something nasty happened */ | 217 | /* something nasty happened */ |
| 218 | printk(KERN_ERR "%s: addr=%p\n", __FUNCTION__, addr); | 218 | printk(KERN_ERR "%s: addr=%p\n", __func__, addr); |
| 219 | BUG(); | 219 | BUG(); |
| 220 | return 0; | 220 | return 0; |
| 221 | } | 221 | } |
| @@ -234,7 +234,7 @@ static inline void *qe2cpu_addr(dma_addr_t addr, struct uart_qe_port *qe_port) | |||
| 234 | return qe_port->bd_virt + (addr - qe_port->bd_dma_addr); | 234 | return qe_port->bd_virt + (addr - qe_port->bd_dma_addr); |
| 235 | 235 | ||
| 236 | /* something nasty happened */ | 236 | /* something nasty happened */ |
| 237 | printk(KERN_ERR "%s: addr=%x\n", __FUNCTION__, addr); | 237 | printk(KERN_ERR "%s: addr=%x\n", __func__, addr); |
| 238 | BUG(); | 238 | BUG(); |
| 239 | return NULL; | 239 | return NULL; |
| 240 | } | 240 | } |
