UBUNTU: SAUCE: platform/x86: dell-uart-backlight: update return code for uart_chars_in_buffer(()

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
This commit is contained in:
Paolo Pisati
2021-07-21 16:22:24 +00:00
parent 6bb3e8064a
commit b3a4e9889c
@@ -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);