Skip to content

Commit 6c8afa8

Browse files
geertudtor
authored andcommitted
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>
1 parent 6ab17a8 commit 6c8afa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/serio/gscps2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
MODULE_AUTHOR("Laurent Canet <canetl@esiee.fr>, Thibaut Varene <varenet@parisc-linux.org>, Helge Deller <deller@gmx.de>");
4141
MODULE_DESCRIPTION("HP GSC PS2 port driver");
4242
MODULE_LICENSE("GPL");
43-
MODULE_DEVICE_TABLE(parisc, gscps2_device_tbl);
4443

4544
#define PFX "gscps2.c: "
4645

@@ -439,6 +438,7 @@ static struct parisc_device_id gscps2_device_tbl[] = {
439438
#endif
440439
{ 0, } /* 0 terminated list */
441440
};
441+
MODULE_DEVICE_TABLE(parisc, gscps2_device_tbl);
442442

443443
static struct parisc_driver parisc_ps2_driver = {
444444
.name = "gsc_ps2",

0 commit comments

Comments
 (0)