Commit 4ec939e7 authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] add static, fix typo

parent 5c369e3e
......@@ -2043,7 +2043,7 @@ static void initialize_tty_struct(struct tty_struct *tty)
/*
* The default put_char routine if the driver did not define one.
*/
void tty_default_put_char(struct tty_struct *tty, unsigned char ch)
static void tty_default_put_char(struct tty_struct *tty, unsigned char ch)
{
tty->driver.write(tty, 0, &ch, 1);
}
......
......@@ -2101,7 +2101,7 @@ void vt_console_print(struct console *co, const char * b, unsigned count)
if (kmsg_redirect && vc_cons_allocated(kmsg_redirect - 1))
currcons = kmsg_redirect - 1;
/* read `x' only after setting currecons properly (otherwise
/* read `x' only after setting currcons properly (otherwise
the `x' macro will read the x of the foreground console). */
myx = x;
......@@ -2198,8 +2198,8 @@ struct console vt_console_driver = {
*
* There are some functions which don't need it.
*
* There are some functions which can sleep for arbitrary periods (paste_selection)
* but we don't need the lock there anyway.
* There are some functions which can sleep for arbitrary periods
* (paste_selection) but we don't need the lock there anyway.
*
* set_selection has locking, and definitely needs it
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment