Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39672
b: refs/heads/master
c: 0fea0e9
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Garzik authored and Dmitry Torokhov committed Nov 3, 2006
1 parent 0d8cdf2 commit 36912af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ff22ea7d29d99b3dbec08fd541eb406c6775ec1
refs/heads/master: 0fea0e9a9c72dab526447895605fc236c87c2726
11 changes: 9 additions & 2 deletions trunk/drivers/input/mouse/logips2pp.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ int ps2pp_init(struct psmouse *psmouse, int set_properties)
unsigned char model, buttons;
const struct ps2pp_info *model_info;
int use_ps2pp = 0;
int error;

param[0] = 0;
ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES);
Expand Down Expand Up @@ -393,8 +394,14 @@ int ps2pp_init(struct psmouse *psmouse, int set_properties)
psmouse->set_resolution = ps2pp_set_resolution;
psmouse->disconnect = ps2pp_disconnect;

device_create_file(&psmouse->ps2dev.serio->dev,
&psmouse_attr_smartscroll.dattr);
error = device_create_file(&psmouse->ps2dev.serio->dev,
&psmouse_attr_smartscroll.dattr);
if (error) {
printk(KERN_ERR
"logips2pp.c: failed to create smartscroll "
"sysfs attribute, error: %d\n", error);
return -1;
}
}
}

Expand Down

0 comments on commit 36912af

Please sign in to comment.