[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090406163539.12934.21845.stgit@t61.ukuu.org.uk>
Date: Mon, 06 Apr 2009 17:35:42 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: [PATCH 27/27] 8250: Fix warning
The 8430 patch was short a const so caused a warning.
Signed-off-by: Alan Cox <alan@...rguk.ukuu.org.uk>
---
drivers/serial/8250_pci.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c
index 5b0e80d..7ddff3f 100644
--- a/drivers/serial/8250_pci.c
+++ b/drivers/serial/8250_pci.c
@@ -728,7 +728,8 @@ static int pci_ni8430_init(struct pci_dev *dev)
#define NI8430_PORTCON_TXVR_ENABLE (1 << 3)
static int
-pci_ni8430_setup(struct serial_private *priv, struct pciserial_board *board,
+pci_ni8430_setup(struct serial_private *priv,
+ const struct pciserial_board *board,
struct uart_port *port, int idx)
{
void __iomem *p;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists