Skip to content

Commit

Permalink
Staging: speakup: serialio: Fixed errors in file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tracey Dent authored and Greg Kroah-Hartman committed Oct 9, 2010
1 parent 40e5c96 commit ef999f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/speakup/serialio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit ef999f1

Please sign in to comment.