summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/hvconsole.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-03-03 12:46:03 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2021-03-24 14:09:30 +1100
commit13b8219bd00d953cad60431cb47db96eb835c71d (patch)
treea169268373193fc78cec25f571f6360b64ede6d0 /arch/powerpc/include/asm/hvconsole.h
parent1a029e0edbc5890f76b642222d9899c093212fe6 (diff)
downloadlwn-13b8219bd00d953cad60431cb47db96eb835c71d.tar.gz
lwn-13b8219bd00d953cad60431cb47db96eb835c71d.zip
powerpc/pseries: Move hvc_vio_init_early() prototype to shared location
Fixes the following W=1 kernel build warning(s): drivers/tty/hvc/hvc_vio.c:385:13: warning: no previous prototype for ‘hvc_vio_init_early’ 385 | void __init hvc_vio_init_early(void) | ^~~~~~~~~~~~~~~~~~ Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210303124603.3150175-1-lee.jones@linaro.org
Diffstat (limited to 'arch/powerpc/include/asm/hvconsole.h')
-rw-r--r--arch/powerpc/include/asm/hvconsole.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/hvconsole.h b/arch/powerpc/include/asm/hvconsole.h
index 999ed5ac9053..ccb2034506f0 100644
--- a/arch/powerpc/include/asm/hvconsole.h
+++ b/arch/powerpc/include/asm/hvconsole.h
@@ -24,5 +24,8 @@
extern int hvc_get_chars(uint32_t vtermno, char *buf, int count);
extern int hvc_put_chars(uint32_t vtermno, const char *buf, int count);
+/* Provided by HVC VIO */
+void hvc_vio_init_early(void);
+
#endif /* __KERNEL__ */
#endif /* _PPC64_HVCONSOLE_H */