patch-2.4.0-test11 linux/drivers/sound/pas2_pcm.c

Next file: linux/drivers/sound/pss.c
Previous file: linux/drivers/sound/pas2_mixer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/drivers/sound/pas2_pcm.c linux/drivers/sound/pas2_pcm.c
@@ -12,8 +12,10 @@
  * Thomas Sailer   : ioctl code reworked (vmalloc/vfree removed)
  * Alan Cox	   : Swatted a double allocation of device bug. Made a few
  *		     more things module options.
+ * Bartlomiej Zolnierkiewicz : Added __init to pas_pcm_init()
  */
 
+#include <linux/init.h>
 #include "sound_config.h"
 
 #include "pas2.h"
@@ -385,7 +387,7 @@
 	trigger:	pas_audio_trigger
 };
 
-void pas_pcm_init(struct address_info *hw_config)
+void __init pas_pcm_init(struct address_info *hw_config)
 {
 	DEB(printk("pas2_pcm.c: long pas_pcm_init()\n"));
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)