lkml.org 
[lkml]   [2000]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch] joystick driver compilation fixes
Date
From
Some of the joystick drivers weren't including all the headers they needed to 
build on ARM.

p.

Index: drivers/char/joystick/gameport.c
===================================================================
RCS file: /cvsroot/pub/kernel/armlinux/drivers/char/joystick/gameport.c,v
retrieving revision 1.1
diff -u -p -u -r1.1 gameport.c
--- drivers/char/joystick/gameport.c 2000/06/26 21:25:53 1.1
+++ drivers/char/joystick/gameport.c 2000/09/03 21:52:55
@@ -34,6 +34,7 @@
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
+#include <linux/sched.h>
#include <linux/gameport.h>
#include <linux/malloc.h>
#include <linux/isapnp.h>
Index: drivers/char/joystick/lightning.c
===================================================================
RCS file: /cvsroot/pub/kernel/armlinux/drivers/char/joystick/lightning.c,v
retrieving revision 1.1
diff -u -p -u -r1.1 lightning.c
--- drivers/char/joystick/lightning.c 2000/06/26 21:25:53 1.1
+++ drivers/char/joystick/lightning.c 2000/09/03 21:52:55
@@ -37,6 +37,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
+#include <linux/sched.h>
#include <linux/gameport.h>
#include <linux/malloc.h>

Index: drivers/char/joystick/ns558.c
===================================================================
RCS file: /cvsroot/pub/kernel/armlinux/drivers/char/joystick/ns558.c,v
retrieving revision 1.1
diff -u -p -u -r1.1 ns558.c
--- drivers/char/joystick/ns558.c 2000/06/26 21:25:53 1.1
+++ drivers/char/joystick/ns558.c 2000/09/03 21:52:55
@@ -37,6 +37,7 @@
#include <linux/ioport.h>
#include <linux/config.h>
#include <linux/init.h>
+#include <linux/sched.h>
#include <linux/gameport.h>
#include <linux/malloc.h>
#include <linux/isapnp.h>
Index: drivers/char/joystick/pcigame.c
===================================================================
RCS file: /cvsroot/pub/kernel/armlinux/drivers/char/joystick/pcigame.c,v
retrieving revision 1.1
diff -u -p -u -r1.1 pcigame.c
--- drivers/char/joystick/pcigame.c 2000/06/26 21:25:53 1.1
+++ drivers/char/joystick/pcigame.c 2000/09/03 21:52:56
@@ -42,6 +42,8 @@
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/init.h>
+#include <linux/slab.h>
+#include <linux/sched.h>
#include <linux/gameport.h>

#define PCI_VENDOR_ID_AUREAL 0x12eb

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.105 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site