Hi Greg,
In Linus' tree, today's linux-next build (powerpc ppc64_defconfig)
produced this warning:
drivers/tty/serial/8250_pci.c:1457: warning: initialization from incompatible pointer type
Introduced by commit d9a0fbfd7bc5 ("serial: 8250_pci: add support for
Cronyx Omega PCI multiserial board").
Sorry that I didn't notice this earlier.
--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/
On Wed, May 25, 2011 at 10:37:40AM +1000, Stephen Rothwell wrote:
> Hi Greg,
>
> In Linus' tree, today's linux-next build (powerpc ppc64_defconfig)
> produced this warning:
>
> drivers/tty/serial/8250_pci.c:1457: warning: initialization from incompatible pointer type
>
> Introduced by commit d9a0fbfd7bc5 ("serial: 8250_pci: add support for
> Cronyx Omega PCI multiserial board").
>
> Sorry that I didn't notice this earlier.
Thanks, I'll work on this.
greg k-h
Signed-off-by: Antony Pavlov <[email protected]>
---
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