Update of /cvsroot/alsa/alsa-driver/pci/nm256
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21578/pci/nm256
Modified Files:
nm256.patch
Log Message:
use the new module_param*() functions.
added wrapper functions for older kernels.
Index: nm256.patch
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pci/nm256/nm256.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nm256.patch 18 Jun 2003 11:12:53 -0000 1.1
+++ nm256.patch 7 Apr 2004 17:53:40 -0000 1.2
@@ -1,6 +1,6 @@
---- nm256.c 2003-06-10 15:13:55.000000000 +0200
-+++ nm256.c.old 2003-06-10 15:14:45.000000000 +0200
-@@ -1307,6 +1307,7 @@
+--- nm256.c 2004-04-07 16:47:29.249654161 +0200
++++ nm256.c 2004-04-07 18:13:06.303544757 +0200
+@@ -1313,6 +1313,7 @@
snd_power_change_state(card, SNDRV_CTL_POWER_D0);
}
@@ -8,7 +8,7 @@
static int snd_nm256_suspend(struct pci_dev *dev, u32 state)
{
nm256_t *chip = snd_magic_cast(nm256_t, pci_get_drvdata(dev), return -ENXIO);
-@@ -1319,6 +1320,18 @@
+@@ -1325,6 +1326,18 @@
nm256_resume(chip);
return 0;
}
@@ -27,8 +27,9 @@
/* callback */
static int snd_nm256_set_power_state(snd_card_t *card, unsigned int power_state)
-@@ -1707,3 +1720,4 @@
- __setup("snd-nm256=", alsa_card_nm256_setup);
+@@ -1687,3 +1700,5 @@
- #endif /* ifndef MODULE */
+ module_init(alsa_card_nm256_init)
+ module_exit(alsa_card_nm256_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