diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2009-04-06 12:35:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 17:36:43 -0400 |
commit | bf538fe4689694b0b90d358dda91cde7b438097d (patch) | |
tree | 49d6692a81cbff4b00a5912380e75f3a32d59738 /drivers/serial/8250_pci.c | |
parent | 1f85449ffd146cf2b91a47dff694281bcfd2558b (diff) |
8250: Fix warning
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>
Diffstat (limited to 'drivers/serial/8250_pci.c')
-rw-r--r-- | 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 5b0e80da1c44..7ddff3f55087 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) | |||
728 | #define NI8430_PORTCON_TXVR_ENABLE (1 << 3) | 728 | #define NI8430_PORTCON_TXVR_ENABLE (1 << 3) |
729 | 729 | ||
730 | static int | 730 | static int |
731 | pci_ni8430_setup(struct serial_private *priv, struct pciserial_board *board, | 731 | pci_ni8430_setup(struct serial_private *priv, |
732 | const struct pciserial_board *board, | ||
732 | struct uart_port *port, int idx) | 733 | struct uart_port *port, int idx) |
733 | { | 734 | { |
734 | void __iomem *p; | 735 | void __iomem *p; |