]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
UBUNTU: SAUCE: platform/x86: dell-uart-backlight: update return code for uart_chars_i...
authorPaolo Pisati <paolo.pisati@canonical.com>
Wed, 21 Jul 2021 16:22:24 +0000 (16:22 +0000)
committerAndrea Righi <andrea.righi@canonical.com>
Thu, 9 Mar 2023 14:57:28 +0000 (15:57 +0100)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/platform/x86/dell/dell-uart-backlight.c

index f51eefa87e264959198066b4e19bdc40664a3adb..4f074d48a5feae9e50bfc823e84ebb240dfbb7c4 100644 (file)
@@ -39,7 +39,7 @@ static struct file *ftty;
 
 unsigned int (*io_serial_in)(struct uart_port *p, int offset);
 int (*uart_write)(struct tty_struct *tty, const unsigned char *buf, int count);
-int (*uart_chars_in_buffer)(struct tty_struct *tty);
+unsigned int (*uart_chars_in_buffer)(struct tty_struct *tty);
 
 static bool force;
 module_param(force, bool, 0444);