diff options
Diffstat (limited to 'sound/drivers/opl3/opl3_lib.c')
| -rw-r--r-- | sound/drivers/opl3/opl3_lib.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/drivers/opl3/opl3_lib.c b/sound/drivers/opl3/opl3_lib.c index 6e31e46ca39..f66af5884c4 100644 --- a/sound/drivers/opl3/opl3_lib.c +++ b/sound/drivers/opl3/opl3_lib.c @@ -26,6 +26,7 @@  #include <sound/opl3.h>  #include <asm/io.h>  #include <linux/delay.h> +#include <linux/module.h>  #include <linux/init.h>  #include <linux/slab.h>  #include <linux/ioport.h> @@ -500,10 +501,8 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3,  	hw->private_data = opl3;  	hw->exclusive = 1;  #ifdef CONFIG_SND_OSSEMUL -	if (device == 0) { +	if (device == 0)  		hw->oss_type = SNDRV_OSS_DEVICE_TYPE_DMFM; -		sprintf(hw->oss_dev, "dmfm%i", card->number); -	}  #endif  	strcpy(hw->name, hw->id);  	switch (opl3->hardware & OPL3_HW_MASK) {  | 
