Update of /cvsroot/alsa/alsa-driver/drivers/mpu401
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6214

Modified Files:
        mpu401.c 
Log Message:
fixed the build with 2.4 kernels and ACPI support.



Index: mpu401.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/drivers/mpu401/mpu401.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mpu401.c    25 May 2002 10:25:37 -0000      1.2
+++ mpu401.c    15 Mar 2004 19:00:41 -0000      1.3
@@ -1,2 +1,12 @@
+#include <linux/config.h>
+#include <linux/version.h>
+
+/* FIXME: correct version? */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
+#ifdef CONFIG_ACPI_BUS
+static int acpi_disabled; /* dummy */
+#endif
+#endif
+
 #include "../../alsa-kernel/drivers/mpu401/mpu401.c"
 EXPORT_NO_SYMBOLS;



-------------------------------------------------------
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