Update of /cvsroot/alsa/alsa-kernel/pci/au88x0
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4885

Modified Files:
        au88x0_a3d.c au88x0_game.c 
Log Message:
Fixed gameport dependency and solid kernel build

Index: au88x0_a3d.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/au88x0/au88x0_a3d.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- au88x0_a3d.c        9 Mar 2004 11:52:13 -0000       1.1
+++ au88x0_a3d.c        15 Mar 2004 10:47:47 -0000      1.2
@@ -562,7 +562,7 @@
        a3dsrc_SetA3DSampleRate(a3dsrc, 0x11);
 }
 
-int Vort3DRend_Initialize(vortex_t * v, unsigned short mode)
+static int Vort3DRend_Initialize(vortex_t * v, unsigned short mode)
 {
        v->xt_mode = mode;      /* this_14 */
 

Index: au88x0_game.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/au88x0/au88x0_game.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- au88x0_game.c       9 Mar 2004 11:52:13 -0000       1.1
+++ au88x0_game.c       15 Mar 2004 10:47:47 -0000      1.2
@@ -37,6 +37,8 @@
 #include "au88x0.h"
 #include <linux/gameport.h>
 
+#if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
+
 #define VORTEX_GAME_DWAIT      20      /* 20 ms */
 
 static struct gameport gameport;
@@ -119,3 +121,10 @@
                gameport_unregister_port(vortex->gameport);
        return 0;
 }
+
+#else
+
+static inline int vortex_gameport_register(vortex_t * vortex) { return 0; }
+static inline int vortex_gameport_unregister(vortex_t * vortex) { return 0; }
+
+#endif



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to