summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2015-06-02 13:40:46 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-06-04 14:08:21 +0900
commitf5537d46cb2e062ca4a67ac86168b2bff9895615 (patch)
tree0bd9b1d186f0d74e0e0c03974830dd06ddf1b1fb /drivers/staging
parent11fca140c92555f299808968061e81deb7c11821 (diff)
greybus: uart: Reduce UART count from 255 to 16
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/greybus/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c
index 673eec4fe963..4cad629e3cb2 100644
--- a/drivers/staging/greybus/uart.c
+++ b/drivers/staging/greybus/uart.c
@@ -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 {