[patch] joystick driver compilation fixes

From: Philip Blundell (pb@tazenda.demon.co.uk)
Date: Sun Sep 03 2000 - 17:07:46 EST


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/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:16 EST