tty: serial: bcm63xx_uart: define UART_REG_SIZE constant
The bcm63xx_uart driver uses RSET_UART_SIZE which is a constant defined for MIPS-based BCM63xx platforms, pull this constant value from the MIPS-specific header and put it in include/linux/serial_bcm63xx.h to make the driver platform agnostic. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f04430cead
commit
5811712ffb
2 changed files with 4 additions and 2 deletions
|
|
@ -116,4 +116,6 @@
|
|||
UART_FIFO_PARERR_MASK | \
|
||||
UART_FIFO_BRKDET_MASK)
|
||||
|
||||
#define UART_REG_SIZE 24
|
||||
|
||||
#endif /* _LINUX_SERIAL_BCM63XX_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue