diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-10 12:29:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 19:47:49 +0300 |
commit | 9af92fbff3b06d75470717361076aa7bd097ff8b (patch) | |
tree | c5fcf802d67a1428bd92f63c06353a21bae1939f /include | |
parent | ed4492fa91265ff7ffc69a4212533ebe3e7cbe18 (diff) | |
download | linux-9af92fbff3b06d75470717361076aa7bd097ff8b.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/atmel.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h index 527a85c61924..c4bc90bfebe0 100644 --- a/include/linux/platform_data/atmel.h +++ b/include/linux/platform_data/atmel.h @@ -19,12 +19,6 @@ #include <linux/serial.h> #include <linux/platform_data/macb.h> -/* - * at91: 6 USARTs and one DBGU port (SAM9260) - * avr32: 4 - */ -#define ATMEL_MAX_UART 7 - /* USB Device */ struct at91_udc_data { int vbus_pin; /* high == host powering us */ |