Skip to content

Commit

Permalink
drivers/tty/serial/8250_pci.c: fix warning
Browse files Browse the repository at this point in the history
Fis the warning

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

Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
akpm00 authored and torvalds committed Jun 28, 2011
1 parent 1fc6e98 commit a39bce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/8250_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a39bce7

Please sign in to comment.