diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2011-06-27 19:18:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-27 21:00:13 -0400 |
commit | a39bce7bf60e728cb33b6b0415c3f44e7f1a102b (patch) | |
tree | 174bdb951546f67880f13936d64f992d87d7b47a /drivers/tty | |
parent | 1fc6e987d8f606371337211f52ff74c6753298a6 (diff) |
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/8250_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
973 | 973 | ||
974 | static int | 974 | static int |
975 | pci_omegapci_setup(struct serial_private *priv, | 975 | pci_omegapci_setup(struct serial_private *priv, |
976 | struct pciserial_board *board, | 976 | const struct pciserial_board *board, |
977 | struct uart_port *port, int idx) | 977 | struct uart_port *port, int idx) |
978 | { | 978 | { |
979 | return setup_port(priv, port, 2, idx * 8, 0); | 979 | return setup_port(priv, port, 2, idx * 8, 0); |