diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-11-18 02:05:06 +0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-11-19 20:44:54 +0400 |
commit | 2abb74eaf6e73cb42e87bdc9e9c2535ce485e614 (patch) | |
tree | 9f85e404a5dceda464d32bd377bd44670a914809 /include/linux/platform_data/atmel.h | |
parent | 75984df05d86956541795f01e62d7dc67bc522fd (diff) | |
download | linux-2abb74eaf6e73cb42e87bdc9e9c2535ce485e614.tar.xz |
atmel: move ATMEL_MAX_UART to platform_data/atmel.h
Modify both AT91 and AVR32 platforms.
Use 7 for it as the sam9260 or the sam9g25 have 7 of them DBGU included.
Reported-by: Joachim Eastwood <joachim.eastwood@jotron.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'include/linux/platform_data/atmel.h')
-rw-r--r-- | include/linux/platform_data/atmel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h index dbd6d53cc270..6a293b7fff3b 100644 --- a/include/linux/platform_data/atmel.h +++ b/include/linux/platform_data/atmel.h @@ -19,6 +19,12 @@ #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 */ |