vt: keyboard, Fix typo in the doc for vt_get_shift_state()
Quoted 7 lines · Andy Shevchenko
Kernel documentation validator is not happy:
.../keyboard.c:2195: warning: expecting prototype forvt_get_shiftstate(). Prototype was forvt_get_shift_state()insteadThis is due to typo, fix it here.
Signed-off-by Andy Shevchenko <[email protected]>
Reviewed-by Jiri Slaby <[email protected]>
Quoted 18 lines
--- drivers/tty/vt/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/tty/vt/keyboard.c +1
-1@@ -2186,7 +2186,7 @@ void vt_reset_unicode(int console) }/** -* vt_get_shiftstate - shift bit state +* vt_get_shift_state - shift bit state * * Report the shift bits from the keyboard state. We have to export * this to support some oddities in the vt layer.
Signature · 1 line
js
PATCH 1/1 vt: keyboard, Fix typo in the doc for vt_get_shift_state()
Kernel documentation validator is not happy:
.../keyboard.c:2195: warning: expecting prototype for vt_get_shiftstate(). Prototype was for vt_get_shift_state() instead
This is due to typo, fix it here.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/tty/vt/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/vt/keyboard.c +1 -1
@@ -2186,7 +2186,7 @@ void vt_reset_unicode(int console) }/** -* vt_get_shiftstate - shift bit state +* vt_get_shift_state - shift bit state * * Report the shift bits from the keyboard state. We have to export * this to support some oddities in the vt layer.
Signature · 1 line
2.30.1