OSDN Git Service

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)
commitf5537d46cb2e062ca4a67ac86168b2bff9895615
tree0bd9b1d186f0d74e0e0c03974830dd06ddf1b1fb
parent11fca140c92555f299808968061e81deb7c11821
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>
drivers/staging/greybus/uart.c