Commit eeedeada authored by Russell King's avatar Russell King

[SERIAL] Fix two incorrect uses of __FUNCTION__

parent 4efafa32
...@@ -661,7 +661,7 @@ void __init sa1100_register_uart_fns(struct sa1100_port_fns *fns) ...@@ -661,7 +661,7 @@ void __init sa1100_register_uart_fns(struct sa1100_port_fns *fns)
void __init sa1100_register_uart(int idx, int port) void __init sa1100_register_uart(int idx, int port)
{ {
if (idx >= NR_PORTS) { if (idx >= NR_PORTS) {
printk(KERN_ERR __FUNCTION__ ": bad index number %d\n", idx); printk(KERN_ERR "%s: bad index number %d\n", __FUNCTION__, idx);
return; return;
} }
...@@ -688,7 +688,7 @@ void __init sa1100_register_uart(int idx, int port) ...@@ -688,7 +688,7 @@ void __init sa1100_register_uart(int idx, int port)
break; break;
default: default:
printk(KERN_ERR __FUNCTION__ ": bad port number %d\n", port); printk(KERN_ERR "%s: bad port number %d\n", __FUNCTION__, port);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment