diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-10-30 07:43:40 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:14 -0500 |
commit | 045765253c610cb5acebb22ae94d759f586d9521 (patch) | |
tree | 3c8dd451c49f29fbfa0f6d50bb9ceabd6d33322d /sound/drivers/opl3/opl3_lib.c | |
parent | e5723b41abe559bafc52591dcf8ee19cc131d3a1 (diff) |
[ALSA] opl3 - Fix build errors
I applied a wrong patch for 'opl3 - simplify exclusive access lock'.
Fixed now.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/drivers/opl3/opl3_lib.c')
-rw-r--r-- | sound/drivers/opl3/opl3_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/drivers/opl3/opl3_lib.c b/sound/drivers/opl3/opl3_lib.c index a1270841290b..ebe4359047cb 100644 --- a/sound/drivers/opl3/opl3_lib.c +++ b/sound/drivers/opl3/opl3_lib.c | |||
@@ -525,6 +525,7 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3, | |||
525 | hw->ops.write = snd_opl3_write; | 525 | hw->ops.write = snd_opl3_write; |
526 | hw->ops.release = snd_opl3_release; | 526 | hw->ops.release = snd_opl3_release; |
527 | 527 | ||
528 | opl3->hwdep = hw; | ||
528 | opl3->seq_dev_num = seq_device; | 529 | opl3->seq_dev_num = seq_device; |
529 | #if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE)) | 530 | #if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE)) |
530 | if (snd_seq_device_new(card, seq_device, SNDRV_SEQ_DEV_ID_OPL3, | 531 | if (snd_seq_device_new(card, seq_device, SNDRV_SEQ_DEV_ID_OPL3, |