diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-02-04 13:59:25 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-02-04 14:35:54 -0500 |
commit | 6c8afa88adce613c23f27e719f805cc2a6441b07 (patch) | |
tree | 4443d01a51f1eb865ec0d94a5e401852782bad9b /drivers/input | |
parent | 6ab17a8484f03c188a93713369912f1545eb26e9 (diff) |
Input: gscps2 - fix MODULE_DEVICE_TABLE invocation
The patch "module: fix types of device tables aliases" newly requires
that invocations of
MODULE_DEVICE_TABLE(type, name);
come *after* the definition of `name'. That is reasonable, but gscps2
wasn't doing this. Fix it.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/serio/gscps2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/gscps2.c b/drivers/input/serio/gscps2.c index 8d9ba0c3827c..94ab494a6ade 100644 --- a/drivers/input/serio/gscps2.c +++ b/drivers/input/serio/gscps2.c | |||
@@ -40,7 +40,6 @@ | |||
40 | MODULE_AUTHOR("Laurent Canet <canetl@esiee.fr>, Thibaut Varene <varenet@parisc-linux.org>, Helge Deller <deller@gmx.de>"); | 40 | MODULE_AUTHOR("Laurent Canet <canetl@esiee.fr>, Thibaut Varene <varenet@parisc-linux.org>, Helge Deller <deller@gmx.de>"); |
41 | MODULE_DESCRIPTION("HP GSC PS2 port driver"); | 41 | MODULE_DESCRIPTION("HP GSC PS2 port driver"); |
42 | MODULE_LICENSE("GPL"); | 42 | MODULE_LICENSE("GPL"); |
43 | MODULE_DEVICE_TABLE(parisc, gscps2_device_tbl); | ||
44 | 43 | ||
45 | #define PFX "gscps2.c: " | 44 | #define PFX "gscps2.c: " |
46 | 45 | ||
@@ -439,6 +438,7 @@ static struct parisc_device_id gscps2_device_tbl[] = { | |||
439 | #endif | 438 | #endif |
440 | { 0, } /* 0 terminated list */ | 439 | { 0, } /* 0 terminated list */ |
441 | }; | 440 | }; |
441 | MODULE_DEVICE_TABLE(parisc, gscps2_device_tbl); | ||
442 | 442 | ||
443 | static struct parisc_driver parisc_ps2_driver = { | 443 | static struct parisc_driver parisc_ps2_driver = { |
444 | .name = "gsc_ps2", | 444 | .name = "gsc_ps2", |