mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
serial: 8250: fix 8250_dwlib.c gki error
Signed-off-by: Steven Liu <steven.liu@rock-chips.com> Change-Id: I49c2797bd0c9ac4d7461910555a4a371d407cbd2
This commit is contained in:
parent
8d1c43f7b4
commit
dcc20720d0
|
|
@ -29,7 +29,11 @@
|
|||
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
#ifdef MODULE
|
||||
#include "8250_dwlib.c"
|
||||
#else
|
||||
#include "8250_dwlib.h"
|
||||
#endif
|
||||
|
||||
/* Offsets for the DesignWare specific registers */
|
||||
#define DW_UART_USR 0x1f /* UART Status Register */
|
||||
|
|
|
|||
|
|
@ -135,4 +135,6 @@ void dw8250_setup_port(struct uart_port *p)
|
|||
if (reg & DW_UART_CPR_SIR_MODE)
|
||||
up->capabilities |= UART_CAP_IRDA;
|
||||
}
|
||||
#ifndef MODULE
|
||||
EXPORT_SYMBOL_GPL(dw8250_setup_port);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user