X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Finput%2Fjoystick%2Fgrip_mp.c;h=849d0de043b88d16d6c602e0c3732d9c6f0bab02;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=8e1949683e97c58e538c522211060badca660c93;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/drivers/input/joystick/grip_mp.c b/drivers/input/joystick/grip_mp.c index 8e1949683..849d0de04 100644 --- a/drivers/input/joystick/grip_mp.c +++ b/drivers/input/joystick/grip_mp.c @@ -107,6 +107,8 @@ static const int init_seq[] = { static int axis_map[] = { 5, 9, 1, 5, 6, 10, 2, 6, 4, 8, 0, 4, 5, 9, 1, 5 }; +static void register_slot(int i, struct grip_mp *grip); + /* * Returns whether an odd or even number of bits are on in pkt. */ @@ -355,7 +357,6 @@ static int get_and_decode_packet(struct grip_mp *grip, int flags) u32 packet; int joytype = 0; int slot = 0; - static void register_slot(int i, struct grip_mp *grip); /* Get a packet and check for validity */