aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/serial/suncore.c2
-rw-r--r--kernel/printk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/suncore.c b/drivers/serial/suncore.c
index 707c5b03bce9..a2d4a19550ab 100644
--- a/drivers/serial/suncore.c
+++ b/drivers/serial/suncore.c
@@ -52,7 +52,7 @@ void sunserial_unregister_minors(struct uart_driver *drv, int count)
52} 52}
53EXPORT_SYMBOL(sunserial_unregister_minors); 53EXPORT_SYMBOL(sunserial_unregister_minors);
54 54
55int __init sunserial_console_match(struct console *con, struct device_node *dp, 55int sunserial_console_match(struct console *con, struct device_node *dp,
56 struct uart_driver *drv, int line) 56 struct uart_driver *drv, int line)
57{ 57{
58 int off; 58 int off;
diff --git a/kernel/printk.c b/kernel/printk.c
index a30fe33de395..89011bf8c106 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -817,7 +817,7 @@ __setup("console=", console_setup);
817 * commonly to provide a default console (ie from PROM variables) when 817 * commonly to provide a default console (ie from PROM variables) when
818 * the user has not supplied one. 818 * the user has not supplied one.
819 */ 819 */
820int __init add_preferred_console(char *name, int idx, char *options) 820int add_preferred_console(char *name, int idx, char *options)
821{ 821{
822 struct console_cmdline *c; 822 struct console_cmdline *c;
823 int i; 823 int i;