Commit 7e0fc16e authored by David S. Miller's avatar David S. Miller

serial/sun{core,zilog}.c: build fixes.

parent 6f0a8b1c
......@@ -13,6 +13,8 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/console.h>
#include <linux/tty.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/init.h>
......@@ -212,7 +214,7 @@ int suncore_mouse_baud_detection(unsigned char ch, int is_break)
}
if (mouse_got_break) {
ctr++;
if (c == 0x87) {
if (ch == 0x87) {
/* Correct baud rate determined. */
mouse_got_break = 0;
}
......
This diff is collapsed.
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