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>
This commit is contained in:
committed by
Linus Torvalds
parent
1fc6e987d8
commit
a39bce7bf6
@@ -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);
|
||||||
|
Reference in New Issue
Block a user