diff options
Diffstat (limited to 'drivers/serial/sa1100.c')
-rw-r--r-- | drivers/serial/sa1100.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||