aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sn_console.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-30 21:57:33 -0400
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-31 10:26:23 -0400
commit25985edcedea6396277003854657b5f3cb31a628 (patch)
treef026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/tty/serial/sn_console.c
parent6aba74f2791287ec407e0f92487a725a25908067 (diff)
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'drivers/tty/serial/sn_console.c')
-rw-r--r--drivers/tty/serial/sn_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/sn_console.c b/drivers/tty/serial/sn_console.c
index cff9a306660f..377ae74e7154 100644
--- a/drivers/tty/serial/sn_console.c
+++ b/drivers/tty/serial/sn_console.c
@@ -146,7 +146,7 @@ static struct sn_sal_ops intr_ops = {
146}; 146};
147 147
148/* the console does output in two distinctly different ways: 148/* the console does output in two distinctly different ways:
149 * synchronous (raw) and asynchronous (buffered). initally, early_printk 149 * synchronous (raw) and asynchronous (buffered). initially, early_printk
150 * does synchronous output. any data written goes directly to the SAL 150 * does synchronous output. any data written goes directly to the SAL
151 * to be output (incidentally, it is internally buffered by the SAL) 151 * to be output (incidentally, it is internally buffered by the SAL)
152 * after interrupts and timers are initialized and available for use, 152 * after interrupts and timers are initialized and available for use,
@@ -481,7 +481,7 @@ sn_receive_chars(struct sn_cons_port *port, unsigned long flags)
481 while (port->sc_ops->sal_input_pending()) { 481 while (port->sc_ops->sal_input_pending()) {
482 ch = port->sc_ops->sal_getc(); 482 ch = port->sc_ops->sal_getc();
483 if (ch < 0) { 483 if (ch < 0) {
484 printk(KERN_ERR "sn_console: An error occured while " 484 printk(KERN_ERR "sn_console: An error occurred while "
485 "obtaining data from the console (0x%0x)\n", ch); 485 "obtaining data from the console (0x%0x)\n", ch);
486 break; 486 break;
487 } 487 }