commit | f95ad78c72e72bcc922e75b80b35c6e9549b9d72 | [log] [tgz] |
---|---|---|
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | Tue Jun 02 13:40:47 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Thu Jun 04 14:08:22 2015 +0900 |
tree | 77955592ca119264e152b4d9df801e1de3808160 | |
parent | f5537d46cb2e062ca4a67ac86168b2bff9895615 [diff] |
greybus: uart: Update uart.c to register tty ports For each new UART connection we need to do a tty_port_init else we'll crash when trying to access the tty mutex later on. Base the TTY major/minor numbers on non-zero values. Supply an empty operations structure for the newly regitered port. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>