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);
93 * We hope/assume that the first vty found corresponds to the first console 93 * We hope/assume that the first vty found corresponds to the first console
94 * device. 94 * device.
95 */ 95 */
96int hvc_find_vtys(void) 96static int hvc_find_vtys(void)
97{ 97{
98 struct device_node *vty; 98 struct device_node *vty;
99 int num_found = 0; 99 int num_found = 0;
@@ -119,3 +119,4 @@ int hvc_find_vtys(void)
119 119
120 return num_found; 120 return num_found;
121} 121}
122console_initcall(hvc_find_vtys);