Update of /cvsroot/alsa/alsa-driver/pci/ali5451
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21578/pci/ali5451

Modified Files:
        ali5451.patch 
Log Message:
use the new module_param*() functions.
added wrapper functions for older kernels.









Index: ali5451.patch
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pci/ali5451/ali5451.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ali5451.patch       18 Jun 2003 11:12:52 -0000      1.1
+++ ali5451.patch       7 Apr 2004 17:53:40 -0000       1.2
@@ -1,6 +1,6 @@
---- ali5451.c  2003-06-10 15:18:52.000000000 +0200
-+++ ali5451.c.old      2003-06-10 15:18:39.000000000 +0200
-@@ -1963,6 +1963,7 @@
+--- ali5451.c  2004-04-07 16:58:56.596731870 +0200
++++ ali5451.c  2004-04-07 18:35:03.507430272 +0200
+@@ -1977,6 +1977,7 @@
        return;
  }
  
@@ -8,7 +8,7 @@
  static int snd_ali_suspend(struct pci_dev *dev, u32 state)
  {
        ali_t *chip = snd_magic_cast(ali_t, pci_get_drvdata(dev), return -ENXIO);
-@@ -1975,6 +1976,18 @@
+@@ -1989,6 +1990,18 @@
        ali_resume(chip);
        return 0;
  }
@@ -27,8 +27,9 @@
  #endif /* CONFIG_PM */
  
  static int snd_ali_free(ali_t * codec)
-@@ -2314,3 +2327,4 @@
- __setup("snd-ali5451=", alsa_card_ali_setup);
+@@ -2306,3 +2319,5 @@
  
- #endif /* ifndef */
+ module_init(alsa_card_ali_init)
+ module_exit(alsa_card_ali_exit)
++
 +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