OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5517853
)
Input: lifebook - fix an oops on Panasonic CF-18
author
Dmitry Torokhov
<dtor@insightbb.com>
Fri, 20 Jul 2007 04:29:14 +0000
(
00:29
-0400)
committer
Dmitry Torokhov
<dtor@insightbb.com>
Fri, 20 Jul 2007 04:29:14 +0000
(
00:29
-0400)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/lifebook.c
patch
|
blob
|
history
diff --git
a/drivers/input/mouse/lifebook.c
b/drivers/input/mouse/lifebook.c
index
1740cad
..
91109b4
100644
(file)
--- a/
drivers/input/mouse/lifebook.c
+++ b/
drivers/input/mouse/lifebook.c
@@
-109,7
+109,7
@@
static psmouse_ret_t lifebook_process_byte(struct psmouse *psmouse)
{
struct lifebook_data *priv = psmouse->private;
struct input_dev *dev1 = psmouse->dev;
- struct input_dev *dev2 = priv
->dev2
;
+ struct input_dev *dev2 = priv
? priv->dev2 : NULL
;
unsigned char *packet = psmouse->packet;
int relative_packet = packet[0] & 0x08;