greybus: uart-gb: fix up typo from previous patch moving the status variable around.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
Greg Kroah-Hartman 2014-11-19 16:56:13 -08:00
parent 25d0f81a0e
commit 9ffb4b8b39

View file

@ -159,6 +159,7 @@ static int get_version(struct gb_tty *tty)
gb_connection_err(tty->connection, "result %hhu",
operation->result);
} else {
response = operation->response.payload;
if (response->major > GB_UART_VERSION_MAJOR) {
pr_err("unsupported major version (%hhu > %hhu)\n",
response->major, GB_UART_VERSION_MAJOR);