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.

drivers/tty/serial/8250_pci.c: fix warning

Fis the warning

drivers/tty/serial/8250_pci.c:1457: warning: initialization from incompatible pointer type

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Andrew Morton and committed by
Linus Torvalds
a39bce7b 1fc6e987

+1 -1
+1 -1
drivers/tty/serial/8250_pci.c
··· 973 973 974 974 static int 975 975 pci_omegapci_setup(struct serial_private *priv, 976 - struct pciserial_board *board, 976 + const struct pciserial_board *board, 977 977 struct uart_port *port, int idx) 978 978 { 979 979 return setup_port(priv, port, 2, idx * 8, 0);