From: Peter Hurley Date: Wed, 5 Nov 2014 17:26:27 +0000 (-0500) Subject: tty: Remove defunct serial_console_init() declaration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9104f5cec3b7d8fb4068bce5ddc8240dc7b81f7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git tty: Remove defunct serial_console_init() declaration serial_console_init() is not defined by the tty core; remove declaration. Note that the powerpc arch boot code contains a serial_console_init() declaration in arch/powerpc/boot/ops.h which is restricted to the powerpc arch boot. Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/tty.h b/include/linux/tty.h index 97cfb3108e29..c52a689e09aa 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -617,10 +617,6 @@ extern int n_tty_ioctl_helper(struct tty_struct *tty, struct file *file, extern long n_tty_compat_ioctl_helper(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg); -/* serial.c */ - -extern void serial_console_init(void); - /* vt.c */ extern int vt_ioctl(struct tty_struct *tty,