Input: gamecon - reference correct input device in NES mode
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Jul 2010 03:25:35 +0000 (20:25 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Jul 2010 03:29:11 +0000 (20:29 -0700)
commit7b5d3312fbfbb21d2fc7de94e0db66cfdf8b0055
tree29f2c92dea84554ab0cd73f57df2a4ca5bad476f
parent1afaab90e8c0317170a53967064a934a77a59c16
Input: gamecon - reference correct input device in NES mode

We moved input devices from 'struct gc' to individial pads (struct
gc-pad), but gc_nes_process_packet() was still trying to use old
ones and crashing.

Cc: stable@kernel.org
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/gamecon.c