diff options
author | Tracey Dent <tdent48227@gmail.com> | 2010-10-08 17:46:37 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-08 19:49:26 -0700 |
commit | ef999f10a61cc6efea42fdd9c32647a39fe390e6 (patch) | |
tree | 920593df276810873632cdd912dc9b7e3fa5d139 /drivers/staging/speakup | |
parent | 40e5c96b229928b28edd99cdb981ff5e74938d19 (diff) | |
download | linux-3.10-ef999f10a61cc6efea42fdd9c32647a39fe390e6.tar.gz linux-3.10-ef999f10a61cc6efea42fdd9c32647a39fe390e6.tar.bz2 linux-3.10-ef999f10a61cc6efea42fdd9c32647a39fe390e6.zip |
Staging: speakup: serialio: Fixed errors in file
On line 40 printk() needed an KERN_* facility level, so I gave it
INFO. Also, fixed a C99 comment error.
Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r-- | drivers/staging/speakup/serialio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/speakup/serialio.c b/drivers/staging/speakup/serialio.c index f64eb364533..bafd62fc203 100644 --- a/drivers/staging/speakup/serialio.c +++ b/drivers/staging/speakup/serialio.c @@ -37,7 +37,7 @@ struct serial_state *spk_serial_init(int index) cval |= UART_LCR_EPAR; if (synth_request_region(ser->port, 8)) { /* try to take it back. */ - printk("Ports not available, trying to steal them\n"); + printk(KERN_INFO "Ports not available, trying to steal them\n"); __release_region(&ioport_resource, ser->port, 8); err = synth_request_region(ser->port, 8); if (err) { @@ -155,7 +155,7 @@ int wait_for_xmitr(void) while (!((inb_p(speakup_info.port_tts + UART_MSR)) & UART_MSR_CTS)) { /* CTS */ if (--tmout == 0) { - // pr_warn("%s: timed out (cts)\n", synth->long_name); + /* pr_warn("%s: timed out (cts)\n", synth->long_name); */ timeouts++; return 0; } |