diff options
| author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-11-17 17:05:06 -0500 |
|---|---|---|
| committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-11-19 11:44:54 -0500 |
| commit | 2abb74eaf6e73cb42e87bdc9e9c2535ce485e614 (patch) | |
| tree | 9f85e404a5dceda464d32bd377bd44670a914809 /include/linux/platform_data | |
| parent | 75984df05d86956541795f01e62d7dc67bc522fd (diff) | |
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')
| -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 dbd6d53cc27..6a293b7fff3 100644 --- a/include/linux/platform_data/atmel.h +++ b/include/linux/platform_data/atmel.h | |||
| @@ -19,6 +19,12 @@ | |||
| 19 | #include <linux/serial.h> | 19 | #include <linux/serial.h> |
| 20 | #include <linux/platform_data/macb.h> | 20 | #include <linux/platform_data/macb.h> |
| 21 | 21 | ||
| 22 | /* | ||
| 23 | * at91: 6 USARTs and one DBGU port (SAM9260) | ||
| 24 | * avr32: 4 | ||
| 25 | */ | ||
| 26 | #define ATMEL_MAX_UART 7 | ||
| 27 | |||
| 22 | /* USB Device */ | 28 | /* USB Device */ |
| 23 | struct at91_udc_data { | 29 | struct at91_udc_data { |
| 24 | int vbus_pin; /* high == host powering us */ | 30 | int vbus_pin; /* high == host powering us */ |
