On 03. 03. 21, 9:32, Andy Shevchenko wrote:
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 <andriy.shevche...@linux.intel.com>

Reviewed-by: Jiri Slaby <jirisl...@kernel.org>

---
  drivers/tty/vt/keyboard.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c
index 77638629c562..5d2309742718 100644
--- a/drivers/tty/vt/keyboard.c
+++ b/drivers/tty/vt/keyboard.c
@@ -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.



--
js

Reply via email to