From: Andrew Morton Date: Mon, 27 Jun 2011 23:18:16 +0000 (-0700) Subject: drivers/tty/serial/8250_pci.c: fix warning X-Git-Tag: firefly_0821_release~3680^2~5159 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a39bce7bf60e728cb33b6b0415c3f44e7f1a102b;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/tty/serial/8250_pci.c b/drivers/tty/serial/8250_pci.c index 4b4968a294b2..78e98a5cef96 100644 --- a/drivers/tty/serial/8250_pci.c +++ b/drivers/tty/serial/8250_pci.c @@ -973,7 +973,7 @@ ce4100_serial_setup(struct serial_private *priv, static int pci_omegapci_setup(struct serial_private *priv, - struct pciserial_board *board, + const struct pciserial_board *board, struct uart_port *port, int idx) { return setup_port(priv, port, 2, idx * 8, 0);