vt: keyboard, Fix typo in the doc for vt_get_shift_state()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 3 Mar 2021 08:32:29 +0000 (10:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 09:39:27 +0000 (10:39 +0100)
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.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210303083229.75784-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/keyboard.c

index 7763862..5d23097 100644 (file)
@@ -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.