Update of /cvsroot/alsa/alsa-kernel/core
In directory sc8-pr-cvs1:/tmp/cvs-serv12168

Modified Files:
        memalloc.c 
Log Message:
- fixed the compilation without PCI support.
  added ifdef CONFIG_PCI around preallocate_cards().



Index: memalloc.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/memalloc.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- memalloc.c  3 Sep 2003 13:43:40 -0000       1.16
+++ memalloc.c  9 Oct 2003 10:21:44 -0000       1.17
@@ -783,6 +783,7 @@
  * allocation of buffers for pre-defined devices
  */
 
+#ifdef CONFIG_PCI
 /* FIXME: for pci only - other bus? */
 struct prealloc_dev {
        unsigned short vendor;
@@ -854,6 +855,9 @@
                }
        }
 }
+#else
+#define preallocate_cards()    /* NOP */
+#endif
 
 
 #ifdef CONFIG_PROC_FS



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to