tty/serial: at91: move ATMEL_MAX_UART
[cascardo/linux.git] / drivers / tty / serial / atmel_serial.c
index 5ca5cf3..98c8403 100644 (file)
@@ -111,6 +111,12 @@ struct atmel_uart_char {
 
 #define ATMEL_SERIAL_RINGSIZE 1024
 
+/*
+ * at91: 6 USARTs and one DBGU port (SAM9260)
+ * avr32: 4
+ */
+#define ATMEL_MAX_UART         7
+
 /*
  * We wrap our port structure around the generic uart_port.
  */