Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

serial: liteuart: don't set unused port fields

Remove regshift and iobase port fields, since they are unused
by the driver.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20221123130500.1030189-5-gsomlo@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gabriel Somlo and committed by
Greg Kroah-Hartman
7378beac 38059622

-2
-2
drivers/tty/serial/liteuart.c
··· 263 263 port->iotype = UPIO_MEM; 264 264 port->flags = UPF_BOOT_AUTOCONF; 265 265 port->ops = &liteuart_ops; 266 - port->regshift = 2; 267 266 port->fifosize = 16; 268 - port->iobase = 1; 269 267 port->type = PORT_UNKNOWN; 270 268 port->line = dev_id; 271 269 spin_lock_init(&port->lock);