patch-2.4.0-test11 linux/drivers/sound/pss.c
Next file: linux/drivers/sound/sgalaxy.c
Previous file: linux/drivers/sound/pas2_pcm.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sat Nov 11 18:33:14 2000
- Orig file:
v2.4.0-test10/linux/drivers/sound/pss.c
- Orig date:
Sun Oct 8 10:50:27 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/sound/pss.c linux/drivers/sound/pss.c
@@ -50,6 +50,8 @@
* setting is the previous hardcoded setting "/etc/sound/pss_synth".
* 00-03-03: Christoph Hellwig <chhellwig@gmx.net>
* Adapted to module_init/module_exit
+ * 11-10-2000: Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
+ * Added __init to probe_pss(), attach_pss() and probe_pss_mpu()
*/
@@ -168,7 +170,7 @@
printk(KERN_WARNING "PSS: DSP Command (%04x) Timeout.\n", data);
}
-int probe_pss(struct address_info *hw_config)
+int __init probe_pss(struct address_info *hw_config)
{
unsigned short id;
int irq, dma;
@@ -644,7 +646,7 @@
}
}
-void attach_pss(struct address_info *hw_config)
+void __init attach_pss(struct address_info *hw_config)
{
unsigned short id;
char tmp[100];
@@ -693,7 +695,7 @@
conf_printf(tmp, hw_config);
}
-int probe_pss_mpu(struct address_info *hw_config)
+int __init probe_pss_mpu(struct address_info *hw_config)
{
int timeout;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)