]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: bcm63xx_uart: define UART_REG_SIZE constant
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 20 Feb 2014 18:15:52 +0000 (10:15 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Mar 2014 00:27:18 +0000 (16:27 -0800)
commiteef584483840fd9c66affa9222e78ce5105e317a
treede7154c8603b655cbcd9b0319e84927bd155c35e
parent93380be9e17ec07f58e1bfbaa8cebc4289f1d2a6
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>
drivers/tty/serial/bcm63xx_uart.c
include/linux/serial_bcm63xx.h