Input: gamecon - reference correct input device in NES mode
commit590a040d36b9bb5aa1b2a59de1675670f2823330
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Jul 2010 03:25:35 +0000 (20 20:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:29:53 +0000 (2 10:29 -0700)
tree9d4a77d793ee7271df33e8fae17d6002b2011e98
parent34efb27b0b051927fdcde30da3aec0e42d727bb4
Input: gamecon - reference correct input device in NES mode

commit 7b5d3312fbfbb21d2fc7de94e0db66cfdf8b0055 upstream.

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.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/joystick/gamecon.c