patch-2.4.0-test11 linux/drivers/sound/nm256_audio.c
Next file: linux/drivers/sound/pas2_midi.c
Previous file: linux/drivers/sound/msnd_pinnacle.c
Back to the patch index
Back to the overall index
- Lines: 47
- Date:
Sat Nov 11 18:33:14 2000
- Orig file:
v2.4.0-test10/linux/drivers/sound/nm256_audio.c
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/sound/nm256_audio.c linux/drivers/sound/nm256_audio.c
@@ -11,6 +11,10 @@
* This driver was written by someone who wishes to remain anonymous.
* It is in the public domain, so share and enjoy. Try to make a profit
* off of it; go on, I dare you.
+ *
+ * Changes:
+ * 11-10-2000 Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
+ * Added some __init
*/
#define __NO_VERSION__
@@ -945,7 +949,7 @@
/* Installs the AC97 mixer into CARD. */
-static int
+static int __init
nm256_install_mixer (struct nm256_info *card)
{
int mixer;
@@ -989,7 +993,7 @@
* RAM.
*/
-static void
+static void __init
nm256_peek_for_sig (struct nm256_info *card)
{
u32 port1offset
@@ -1031,7 +1035,7 @@
* VERSTR is a human-readable version string.
*/
-static int
+static int __init
nm256_install(struct pci_dev *pcidev, enum nm256rev rev, char *verstr)
{
struct nm256_info *card;
@@ -1252,7 +1256,7 @@
* the sound cards are.
*/
-int
+int __init
init_nm256(void)
{
struct pci_dev *pcidev = NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)