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

Modified Files:
        mixart.c 
Log Message:
- removed superfluous warning messages after pci_module_init().
  (2.6 kernel doesn't return the error anyway...)
- store card pointer in pci_drvdata instead of chip pointer.
  this would make easier to add PM support.


Index: mixart.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/mixart/mixart.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mixart.c    7 Apr 2004 17:48:20 -0000       1.7
+++ mixart.c    13 Apr 2004 14:59:02 -0000      1.8
@@ -1433,15 +1433,7 @@
 
 static int __init alsa_card_mixart_init(void)
 {
-       int err;
-
-       if ((err = pci_module_init(&driver)) < 0) {
-#ifdef MODULE
-               snd_printk(KERN_ERR "Digigram miXart soundcard not found or device 
busy\n");
-#endif
-               return err;
-       }
-       return 0;
+       return pci_module_init(&driver);
 }
 
 static void __exit alsa_card_mixart_exit(void)



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