patch-2.4.0-test7 linux/drivers/sound/opl3sa2.c
Next file: linux/drivers/sound/pas2_card.c
Previous file: linux/drivers/sound/opl3sa.c
Back to the patch index
Back to the overall index
- Lines: 57
- Date:
Fri Aug 11 08:26:43 2000
- Orig file:
v2.4.0-test6/linux/drivers/sound/opl3sa2.c
- Orig date:
Tue Mar 7 14:32:26 2000
diff -u --recursive --new-file v2.4.0-test6/linux/drivers/sound/opl3sa2.c linux/drivers/sound/opl3sa2.c
@@ -41,7 +41,6 @@
#include <linux/module.h>
#include "sound_config.h"
-#include "soundmodule.h"
#include "ad1848.h"
#include "mpu401.h"
@@ -436,9 +435,10 @@
static struct mixer_operations opl3sa2_mixer_operations =
{
- "Yamaha",
- "",
- opl3sa2_mixer_ioctl
+ owner: THIS_MODULE,
+ id: "Yamaha",
+ name: "", /* hmm? */
+ ioctl: opl3sa2_mixer_ioctl
};
/* End of mixer-related stuff */
@@ -452,7 +452,7 @@
static inline void __init attach_opl3sa2_mpu(struct address_info *hw_config)
{
- attach_mpu401(hw_config);
+ attach_mpu401(hw_config, THIS_MODULE);
}
@@ -493,7 +493,7 @@
opl3sa2_mixer_reset(devc);
- attach_ms_sound(hw_config); /* Slot 0 */
+ attach_ms_sound(hw_config, THIS_MODULE); /* Slot 0 */
if(hw_config->slots[0] != -1)
{
/* Did the MSS driver install? */
@@ -699,7 +699,7 @@
attach_opl3sa2_mpu(&cfg_mpu);
}
}
- SOUND_LOCK;
+
return 0;
}
@@ -711,7 +711,6 @@
}
unload_opl3sa2_mss(&cfg2);
unload_opl3sa2(&cfg);
- SOUND_LOCK_END;
}
module_init(init_opl3sa2);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)