Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53435
b: refs/heads/master
c: 28aa7f1
h: refs/heads/master
i:
  53433: 7747cfd
  53431: d48592b
v: v3
  • Loading branch information
Dmitry Torokhov committed Apr 12, 2007
1 parent 457c5ce commit 411afcf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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: c0f82d570c84f2592367e350a92ebd71e72ba68a
refs/heads/master: 28aa7f1c8178db8b277a6e11325ef09adea8ac46
2 changes: 1 addition & 1 deletion trunk/drivers/input/mouse/hil_ptr.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ static int hil_ptr_connect(struct serio *serio, struct serio_driver *driver)
ptr->dev->id.vendor = PCI_VENDOR_ID_HP;
ptr->dev->id.product = 0x0001; /* TODO: get from ptr->rsc */
ptr->dev->id.version = 0x0100; /* TODO: get from ptr->rsc */
ptr->dev->cdev.dev = &serio->dev;
ptr->dev->dev.parent = &serio->dev;

input_register_device(ptr->dev);
printk(KERN_INFO "input: %s (%s), ID: %d\n",
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/input/mouse/psmouse-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ static int psmouse_switch_protocol(struct psmouse *psmouse, const struct psmouse
{
struct input_dev *input_dev = psmouse->dev;

input_dev->cdev.dev = &psmouse->ps2dev.serio->dev;
input_dev->dev.parent = &psmouse->ps2dev.serio->dev;

input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REL);
input_dev->keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_MIDDLE) | BIT(BTN_RIGHT);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/input/mouse/sermouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static int sermouse_connect(struct serio *serio, struct serio_driver *drv)
input_dev->id.vendor = sermouse->type;
input_dev->id.product = c;
input_dev->id.version = 0x0100;
input_dev->cdev.dev = &serio->dev;
input_dev->dev.parent = &serio->dev;

input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REL);
input_dev->keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_RIGHT);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/input/mouse/vsxxxaa.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ vsxxxaa_connect (struct serio *serio, struct serio_driver *drv)
input_dev->name = mouse->name;
input_dev->phys = mouse->phys;
input_dev->id.bustype = BUS_RS232;
input_dev->cdev.dev = &serio->dev;
input_dev->dev.parent = &serio->dev;

set_bit (EV_KEY, input_dev->evbit); /* We have buttons */
set_bit (EV_REL, input_dev->evbit);
Expand Down

0 comments on commit 411afcf

Please sign in to comment.