From: Alan Cox Date: Mon, 6 Apr 2009 16:35:42 +0000 (+0100) Subject: 8250: Fix warning X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bf538fe4689694b0b90d358dda91cde7b438097d;p=linux-2.6-omap-h63xx.git 8250: Fix warning The 8430 patch was short a const so caused a warning. Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c index 5b0e80da1c4..7ddff3f5508 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;