Skip to content

Commit

Permalink
8250: Fix warning
Browse files Browse the repository at this point in the history
The 8430 patch was short a const so caused a warning.

Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Apr 6, 2009
1 parent 1f85449 commit bf538fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/serial/8250_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bf538fe

Please sign in to comment.