* [PATCH] tty/serial: (8250) Fix initialization warning
@ 2011-05-26 7:01 Guenter Roeck
0 siblings, 0 replies; only message in thread
From: Guenter Roeck @ 2011-05-26 7:01 UTC (permalink / raw)
To: Greg Kroah-Hartman, Alan Cox; +Cc: linux-serial, Guenter Roeck
This commit fixes the following build warning by updating the offending
function parameter of pci_omegapci_setup().
drivers/tty/serial/8250_pci.c:1457: warning: initialization from incompatible pointer type
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
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.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-26 7:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26 7:01 [PATCH] tty/serial: (8250) Fix initialization warning Guenter Roeck
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).