From: Bryan O'Donoghue Date: Tue, 2 Jun 2015 12:40:46 +0000 (+0100) Subject: greybus: uart: Reduce UART count from 255 to 16 X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~1503 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=f5537d46cb2e062ca4a67ac86168b2bff9895615;p=cascardo%2Flinux.git 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 --- 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 {