aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-02-20 13:15:52 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-28 19:27:18 -0500
commit5811712ffbf593d98b6cc56461df5be4e9580245 (patch)
treede7154c8603b655cbcd9b0319e84927bd155c35e /include/linux
parentf04430ceadbf92e142208cf58904a930417c6480 (diff)
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/serial_bcm63xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/serial_bcm63xx.h b/include/linux/serial_bcm63xx.h
index 570e964dc899..a80aa1a5bee2 100644
--- a/include/linux/serial_bcm63xx.h
+++ b/include/linux/serial_bcm63xx.h
@@ -116,4 +116,6 @@
116 UART_FIFO_PARERR_MASK | \ 116 UART_FIFO_PARERR_MASK | \
117 UART_FIFO_BRKDET_MASK) 117 UART_FIFO_BRKDET_MASK)
118 118
119#define UART_REG_SIZE 24
120
119#endif /* _LINUX_SERIAL_BCM63XX_H */ 121#endif /* _LINUX_SERIAL_BCM63XX_H */