diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-12 00:50:47 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-12 02:45:43 -0500 |
commit | a0ee2037e10d7dce47caabbac19766d00632cccd (patch) | |
tree | 748c5929b388e45a2a869f1782b2d48422686d7a /drivers | |
parent | 1def7afa748b964aeb0033d0cb78aabf3d3f3683 (diff) |
Input: gscps2 - fix probe() and remove() annotations
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/serio/gscps2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/serio/gscps2.c b/drivers/input/serio/gscps2.c index bd0f92d9f40f..06addfa7cc47 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> |
@@ -326,7 +326,7 @@ static void gscps2_close(struct serio *port) | |||
326 | * @return: success/error report | 326 | * @return: success/error report |
327 | */ | 327 | */ |
328 | 328 | ||
329 | static int __init gscps2_probe(struct parisc_device *dev) | 329 | static int __devinit gscps2_probe(struct parisc_device *dev) |
330 | { | 330 | { |
331 | struct gscps2port *ps2port; | 331 | struct gscps2port *ps2port; |
332 | struct serio *serio; | 332 | struct serio *serio; |
@@ -443,7 +443,7 @@ static struct parisc_driver parisc_ps2_driver = { | |||
443 | .name = "gsc_ps2", | 443 | .name = "gsc_ps2", |
444 | .id_table = gscps2_device_tbl, | 444 | .id_table = gscps2_device_tbl, |
445 | .probe = gscps2_probe, | 445 | .probe = gscps2_probe, |
446 | .remove = gscps2_remove, | 446 | .remove = __devexit_p(gscps2_remove), |
447 | }; | 447 | }; |
448 | 448 | ||
449 | static int __init gscps2_init(void) | 449 | static int __init gscps2_init(void) |