summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/hil_ptr.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-10-06 20:47:23 -0600
committerMatthew Wilcox <willy@parisc-linux.org>2006-10-06 20:47:23 -0600
commitbe577a5220b25e0a6e3fbf96bbfc8b31d63e9ea9 (patch)
tree57e159a2b6f48c4b2f20497ced1d653a7fea4834 /drivers/input/mouse/hil_ptr.c
parente317c8ccaaf900abf39cc3240e4dc5ba82a3cc67 (diff)
Build fixes for struct pt_regs removal
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Diffstat (limited to 'drivers/input/mouse/hil_ptr.c')
-rw-r--r--drivers/input/mouse/hil_ptr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/hil_ptr.c b/drivers/input/mouse/hil_ptr.c
index 402b057e986..4f2b503c1ac 100644
--- a/drivers/input/mouse/hil_ptr.c
+++ b/drivers/input/mouse/hil_ptr.c
@@ -375,7 +375,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->dev = &serio->dev;
+ ptr->dev->cdev.dev = &serio->dev;
input_register_device(ptr->dev);
printk(KERN_INFO "input: %s (%s), ID: %d\n",