summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorGrzegorz Jaskiewicz <gj@pointblue.com.pl>2004-09-23 19:44:35 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-23 19:44:35 -0700
commit75d8c8171e77f8921282467f10214e21a36ffd50 (patch)
tree646c7d1c76ea73b989c22cb15b5de963904471cd /drivers/input
parent60bf65f24c85e1ad096e4475e7ccd914d89ca265 (diff)
[PATCH] gcc-4.0 build fixes
Fix various gcc-4.0 compilation errors. Signed-off-by: Grzegorz Jaskiewicz <gj at pointblue.com.pl> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/joystick/grip_mp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/joystick/grip_mp.c b/drivers/input/joystick/grip_mp.c
index 8e1949683e97..849d0de043b8 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 */