projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f85449
)
8250: Fix warning
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Mon, 6 Apr 2009 16:35:42 +0000
(17:35 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 6 Apr 2009 21:36:43 +0000
(14:36 -0700)
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>
drivers/serial/8250_pci.c
patch
|
blob
|
history
diff --git
a/drivers/serial/8250_pci.c
b/drivers/serial/8250_pci.c
index 5b0e80da1c441200520c470a7ba7dde0b89d8dbd..7ddff3f55087c0a1581783c882858cb09e4f1074 100644
(file)
--- 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;