diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 01:34:58 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 01:34:58 -0400 |
commit | 469ba4dff954389f58cebb3df645e24433dcd565 (patch) | |
tree | 35d86557771f367562aef062b12f8ecd64eba7c2 /drivers/input/keyboard/hil_kbd.c | |
parent | 88a447a030bfec9f1e8666daf27d9d73c8c92448 (diff) |
Input: keyboards - switch to using input_dev->dev.parent
In preparation for struct class_device -> struct device input
core conversion, switch to using input_dev->dev.parent when
specifying device position in sysfs tree.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard/hil_kbd.c')
-rw-r--r-- | drivers/input/keyboard/hil_kbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/hil_kbd.c b/drivers/input/keyboard/hil_kbd.c index 087d4df2c49..cdd254f2e6c 100644 --- a/drivers/input/keyboard/hil_kbd.c +++ b/drivers/input/keyboard/hil_kbd.c | |||
@@ -335,7 +335,7 @@ static int hil_kbd_connect(struct serio *serio, struct serio_driver *drv) | |||
335 | kbd->dev->id.vendor = PCI_VENDOR_ID_HP; | 335 | kbd->dev->id.vendor = PCI_VENDOR_ID_HP; |
336 | kbd->dev->id.product = 0x0001; /* TODO: get from kbd->rsc */ | 336 | kbd->dev->id.product = 0x0001; /* TODO: get from kbd->rsc */ |
337 | kbd->dev->id.version = 0x0100; /* TODO: get from kbd->rsc */ | 337 | kbd->dev->id.version = 0x0100; /* TODO: get from kbd->rsc */ |
338 | kbd->dev->cdev.dev = &serio->dev; | 338 | kbd->dev->dev.parent = &serio->dev; |
339 | 339 | ||
340 | for (i = 0; i < 128; i++) { | 340 | for (i = 0; i < 128; i++) { |
341 | set_bit(hil_kbd_set1[i], kbd->dev->keybit); | 341 | set_bit(hil_kbd_set1[i], kbd->dev->keybit); |