summaryrefslogtreecommitdiff
path: root/drivers/input/serio/maceps2.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@mail.ru>2005-02-04 15:39:25 +0100
committerVojtech Pavlik <vojtech@suse.cz>2005-02-04 15:39:25 +0100
commite122050fef4216632a43bf6ebcaa44c3ad6b07cf (patch)
treee5525272fe8ba4577107d3572f72bbb06799ad33 /drivers/input/serio/maceps2.c
parent8f9ba920e5efff59cff044749a6cae9748f8b6f8 (diff)
Input: replace serio's type field with serio_id structure and
add id_table to serio drivers to split initial matching and probing routines for better sysfs integration and to assist hotplug scripts in loading proper drivers. Add serio_hotplug to notify userspace about new ports. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Diffstat (limited to 'drivers/input/serio/maceps2.c')
-rw-r--r--drivers/input/serio/maceps2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/maceps2.c b/drivers/input/serio/maceps2.c
index 72b15b20d2a5..9880fc145d90 100644
--- a/drivers/input/serio/maceps2.c
+++ b/drivers/input/serio/maceps2.c
@@ -125,7 +125,7 @@ static struct serio * __init maceps2_allocate_port(int idx)
serio = kmalloc(sizeof(struct serio), GFP_KERNEL);
if (serio) {
memset(serio, 0, sizeof(struct serio));
- serio->type = SERIO_8042;
+ serio->id.type = SERIO_8042;
serio->write = maceps2_write;
serio->open = maceps2_open;
serio->close = maceps2_close;