summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/uart.c
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2015-07-14 02:10:18 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-07-14 15:59:54 -0700
commita5192032a2a9475c837c2b4b6fc3df02d617c7b0 (patch)
tree0894050dfc05ac545258d17aec03b1f7c7765dd0 /drivers/staging/greybus/uart.c
parente51eafebf83b236d4d43ed13b809c504e2d38d54 (diff)
greybus: uart: fix typo in defintion
Fixing needless redefinition of operation types in gbsim reveals this typo GB_UART_TYPE_SET_BREAK -> GB_UART_TYPE_SEND_BREAK. This patch should be applied in lock-step to the patch to gbsim 'gbsim/uart: remove unnecessary redefinition of operation types' since gbsim does not contain the typo. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/uart.c')
-rw-r--r--drivers/staging/greybus/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c
index 3932f8667d31..0166c4cdb451 100644
--- a/drivers/staging/greybus/uart.c
+++ b/drivers/staging/greybus/uart.c
@@ -186,7 +186,7 @@ static int send_break(struct gb_tty *gb_tty, u8 state)
}
request.state = state;
- return gb_operation_sync(gb_tty->connection, GB_UART_TYPE_SET_BREAK,
+ return gb_operation_sync(gb_tty->connection, GB_UART_TYPE_SEND_BREAK,
&request, sizeof(request), NULL, 0);
}