git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
drivers
/
input
/
joystick
/
grip_mp.c
diff --git
a/drivers/input/joystick/grip_mp.c
b/drivers/input/joystick/grip_mp.c
index
8e19496
..
849d0de
100644
(file)
--- 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 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.
*/
/*
* 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;
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 */
/* Get a packet and check for validity */