linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] serial: 8250_pci: corrected definition pci_omegapci_setup()
@ 2011-06-06  7:49 Vasily Averin
  0 siblings, 0 replies; only message in thread
From: Vasily Averin @ 2011-06-06  7:49 UTC (permalink / raw)
  To: linux-serial; +Cc: Greg Kroah-Hartman, Antony Pavlov

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

Signed-off-by: Vasily Averin <vvs@sw.ru>
---
 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 4b4968a..78e98a5 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);
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-06  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-06  7:49 [PATCH] serial: 8250_pci: corrected definition pci_omegapci_setup() Vasily Averin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).