]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e93c6151bed686d26153641d5810a4ec8e09d20
tree4443d01a51f1eb865ec0d94a5e401852782bad9b
parent5d786ac7365a783af88fe6d0c56866ae4dbcd4c0
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