Commit 4ac9ccd4 authored by Russell King's avatar Russell King

[SERIAL] Console initcalls return int, zero for success.

parent 474d3079
...@@ -1691,9 +1691,10 @@ static struct console m68328_driver = { ...@@ -1691,9 +1691,10 @@ static struct console m68328_driver = {
}; };
static void __init m68328_console_init(void) static int __init m68328_console_init(void)
{ {
register_console(&m68328_driver); register_console(&m68328_driver);
return 0;
} }
console_initcall(m68328_console_init); console_initcall(m68328_console_init);
...@@ -705,9 +705,10 @@ static struct console amba_console = { ...@@ -705,9 +705,10 @@ static struct console amba_console = {
.index = -1, .index = -1,
}; };
static void __init ambauart_console_init(void) static int __init ambauart_console_init(void)
{ {
register_console(&amba_console); register_console(&amba_console);
return 0;
} }
console_initcall(ambauart_console_init); console_initcall(ambauart_console_init);
......
...@@ -502,10 +502,10 @@ static struct console anakin_console = { ...@@ -502,10 +502,10 @@ static struct console anakin_console = {
.index = -1, .index = -1,
}; };
static void __init static int __init anakin_console_init(void)
anakin_console_init(void)
{ {
register_console(&anakin_console); register_console(&anakin_console);
return 0;
} }
console_initcall(anakin_console_init); console_initcall(anakin_console_init);
......
...@@ -567,9 +567,10 @@ static struct console clps711x_console = { ...@@ -567,9 +567,10 @@ static struct console clps711x_console = {
.index = -1, .index = -1,
}; };
static void __init clps711xuart_console_init(void) static int __init clps711xuart_console_init(void)
{ {
register_console(&clps711x_console); register_console(&clps711x_console);
return 0;
} }
console_initcall(clps711xuart_console_init); console_initcall(clps711xuart_console_init);
......
...@@ -1853,9 +1853,10 @@ struct console mcfrs_console = { ...@@ -1853,9 +1853,10 @@ struct console mcfrs_console = {
.index = -1, .index = -1,
}; };
static void __init mcfrs_console_init(void) static int __init mcfrs_console_init(void)
{ {
register_console(&mcfrs_console); register_console(&mcfrs_console);
return 0;
} }
console_initcall(mcfrs_console_init); console_initcall(mcfrs_console_init);
......
...@@ -836,10 +836,11 @@ static struct console sa1100_console = { ...@@ -836,10 +836,11 @@ static struct console sa1100_console = {
.index = -1, .index = -1,
}; };
static void __init sa1100_rs_console_init(void) static int __init sa1100_rs_console_init(void)
{ {
sa1100_init_ports(); sa1100_init_ports();
register_console(&sa1100_console); register_console(&sa1100_console);
return 0;
} }
console_initcall(sa1100_rs_console_init); console_initcall(sa1100_rs_console_init);
......
...@@ -645,9 +645,10 @@ static struct console uart00_console = { ...@@ -645,9 +645,10 @@ static struct console uart00_console = {
.index = 0, .index = 0,
}; };
static void __init uart00_console_init(void) static int __init uart00_console_init(void)
{ {
register_console(&uart00_console); register_console(&uart00_console);
return 0;
} }
console_initcall(uart00_console_init); console_initcall(uart00_console_init);
......
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