Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a39bce7b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1fc6e987
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -973,7 +973,7 @@ ce4100_serial_setup(struct serial_private *priv,


static int
static int
pci_omegapci_setup(struct serial_private *priv,
pci_omegapci_setup(struct serial_private *priv,
		      struct pciserial_board *board,
		      const struct pciserial_board *board,
		      struct uart_port *port, int idx)
		      struct uart_port *port, int idx)
{
{
	return setup_port(priv, port, 2, idx * 8, 0);
	return setup_port(priv, port, 2, idx * 8, 0);