summaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-03-03 10:32:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-23 10:39:27 +0100
commitc6a419afe324dda15b8a7e05597c4a31d0b8fc17 (patch)
treed0d644933cb1c44c60743271b583b003a8f407ab /drivers/tty/vt
parent214df75d5662c989eb309f95072d763ddd2508c6 (diff)
downloadlinux-stable-c6a419afe324dda15b8a7e05597c4a31d0b8fc17.tar.gz
linux-stable-c6a419afe324dda15b8a7e05597c4a31d0b8fc17.tar.bz2
linux-stable-c6a419afe324dda15b8a7e05597c4a31d0b8fc17.zip
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. 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>
Diffstat (limited to 'drivers/tty/vt')
-rw-r--r--drivers/tty/vt/keyboard.c2
1 files changed, 1 insertions, 1 deletions
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.