diff options
Diffstat (limited to 'drivers/input/serio/gscps2.c')
-rw-r--r-- | drivers/input/serio/gscps2.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/input/serio/gscps2.c b/drivers/input/serio/gscps2.c index bd0f92d9f40f..3c287dd879d3 100644 --- a/drivers/input/serio/gscps2.c +++ b/drivers/input/serio/gscps2.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Copyright (c) 2002 Thibaut Varene <varenet@parisc-linux.org> | 6 | * Copyright (c) 2002 Thibaut Varene <varenet@parisc-linux.org> |
7 | * | 7 | * |
8 | * Pieces of code based on linux-2.4's hp_mouse.c & hp_keyb.c | 8 | * Pieces of code based on linux-2.4's hp_mouse.c & hp_keyb.c |
9 | * Copyright (c) 1999 Alex deVries <alex@onefishtwo.ca> | 9 | * Copyright (c) 1999 Alex deVries <alex@onefishtwo.ca> |
10 | * Copyright (c) 1999-2000 Philipp Rumpf <prumpf@tux.org> | 10 | * Copyright (c) 1999-2000 Philipp Rumpf <prumpf@tux.org> |
11 | * Copyright (c) 2000 Xavier Debacker <debackex@esiee.fr> | 11 | * Copyright (c) 2000 Xavier Debacker <debackex@esiee.fr> |
12 | * Copyright (c) 2000-2001 Thomas Marteau <marteaut@esiee.fr> | 12 | * Copyright (c) 2000-2001 Thomas Marteau <marteaut@esiee.fr> |
@@ -24,6 +24,7 @@ | |||
24 | 24 | ||
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/module.h> | 26 | #include <linux/module.h> |
27 | #include <linux/slab.h> | ||
27 | #include <linux/serio.h> | 28 | #include <linux/serio.h> |
28 | #include <linux/input.h> | 29 | #include <linux/input.h> |
29 | #include <linux/interrupt.h> | 30 | #include <linux/interrupt.h> |
@@ -326,7 +327,7 @@ static void gscps2_close(struct serio *port) | |||
326 | * @return: success/error report | 327 | * @return: success/error report |
327 | */ | 328 | */ |
328 | 329 | ||
329 | static int __init gscps2_probe(struct parisc_device *dev) | 330 | static int __devinit gscps2_probe(struct parisc_device *dev) |
330 | { | 331 | { |
331 | struct gscps2port *ps2port; | 332 | struct gscps2port *ps2port; |
332 | struct serio *serio; | 333 | struct serio *serio; |
@@ -443,7 +444,7 @@ static struct parisc_driver parisc_ps2_driver = { | |||
443 | .name = "gsc_ps2", | 444 | .name = "gsc_ps2", |
444 | .id_table = gscps2_device_tbl, | 445 | .id_table = gscps2_device_tbl, |
445 | .probe = gscps2_probe, | 446 | .probe = gscps2_probe, |
446 | .remove = gscps2_remove, | 447 | .remove = __devexit_p(gscps2_remove), |
447 | }; | 448 | }; |
448 | 449 | ||
449 | static int __init gscps2_init(void) | 450 | static int __init gscps2_init(void) |