aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/hvconsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/hvconsole.c')
-rw-r--r--arch/ppc64/kernel/hvconsole.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/hvconsole.c b/arch/ppc64/kernel/hvconsole.c
index c72fb8ffe974..94fb06198ea2 100644
--- a/arch/ppc64/kernel/hvconsole.c
+++ b/arch/ppc64/kernel/hvconsole.c
@@ -93,7 +93,7 @@ EXPORT_SYMBOL(hvc_put_chars);
* We hope/assume that the first vty found corresponds to the first console
* device.
*/
-int hvc_find_vtys(void)
+static int hvc_find_vtys(void)
{
struct device_node *vty;
int num_found = 0;
@@ -119,3 +119,4 @@ int hvc_find_vtys(void)
return num_found;
}
+console_initcall(hvc_find_vtys);