Input: gscps2 - fix MODULE_DEVICE_TABLE invocation
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 4 Feb 2015 18:59:25 +0000 (10:59 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Feb 2015 19:35:54 +0000 (11:35 -0800)
commit6c8afa88adce613c23f27e719f805cc2a6441b07
tree4443d01a51f1eb865ec0d94a5e401852782bad9b
parent6ab17a8484f03c188a93713369912f1545eb26e9
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>
drivers/input/serio/gscps2.c