greybus: uart: Reduce UART count from 255 to 16
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 2 Jun 2015 12:40:46 +0000 (13:40 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 4 Jun 2015 05:08:21 +0000 (14:08 +0900)
Arbitrary number 255 is both not aligned and probably too big.
Move the UART count down to 16 which is still large but, more realistic.
8 may be too few for future testing setups, 16 should accomodate any.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/uart.c

index 673eec4fe963debe64a7b8404b49f8b0111c2d7f..4cad629e3cb250ba4538fd31a2baa8c8911614a3 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "greybus.h"
 
-#define GB_NUM_MINORS  255     /* 255 is enough for anyone... */
+#define GB_NUM_MINORS  16      /* 16 is is more than enough */
 #define GB_NAME                "ttyGB"
 
 struct gb_tty_line_coding {