mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
1f85449ffd
commit
bf538fe468
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue