OSDN Git Service

tty/serial: at91: move ATMEL_MAX_UART
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 10 Sep 2015 09:29:03 +0000 (11:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:47:49 +0000 (17:47 +0100)
commit9af92fbff3b06d75470717361076aa7bd097ff8b
treec5fcf802d67a1428bd92f63c06353a21bae1939f
parented4492fa91265ff7ffc69a4212533ebe3e7cbe18
tty/serial: at91: move ATMEL_MAX_UART

Move ATMEL_MAX_UART from platform_data/atmel.h to atmel_serial.c as this is
the only file using it and it is common practise from tty/serial drivers to
define it directly in the driver file.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c
include/linux/platform_data/atmel.h