From f5537d46cb2e062ca4a67ac86168b2bff9895615 Mon Sep 17 00:00:00 2001 From: Bryan O'Donoghue Date: Tue, 2 Jun 2015 13:40:46 +0100 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1