]> git.hungrycats.org Git - linux/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 05:55:55 +0000 (07:55 +0200)
commitc56f4fe57bcfda0fde9cce2da764225ff240cb4b
treea1cdce0f889d4cfb94b880be26dde54a5826dd8e
parentd45d27eefc1476608d03cb73a1170ea71faf235b
Input: gscps2 - fix MODULE_DEVICE_TABLE invocation

commit 6c8afa88adce613c23f27e719f805cc2a6441b07 upstream.

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>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/serio/gscps2.c