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.
Showing the changes to include/linux/platform_data (1 of 2 files). Show all
Unified · Split
| @@ -19,12 +19,6 @@ · 18 unmodified lines | |||
| 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 | |||
| 28 | /* USB Device */ | 22 | /* USB Device */ |
| 29 | struct at91_udc_data { | 23 | struct at91_udc_data { |
| 30 | int vbus_pin; /* high == host powering us */ | 24 | int vbus_pin; /* high == host powering us */ |