diff options
Diffstat (limited to 'sound/oss')
-rw-r--r-- | sound/oss/sb_midi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/oss/sb_midi.c b/sound/oss/sb_midi.c index f139028e85c0..551ee7557b4e 100644 --- a/sound/oss/sb_midi.c +++ b/sound/oss/sb_midi.c | |||
@@ -179,14 +179,14 @@ void sb_dsp_midi_init(sb_devc * devc, struct module *owner) | |||
179 | { | 179 | { |
180 | printk(KERN_WARNING "Sound Blaster: failed to allocate MIDI memory.\n"); | 180 | printk(KERN_WARNING "Sound Blaster: failed to allocate MIDI memory.\n"); |
181 | sound_unload_mididev(dev); | 181 | sound_unload_mididev(dev); |
182 | return; | 182 | return; |
183 | } | 183 | } |
184 | memcpy((char *) midi_devs[dev], (char *) &sb_midi_operations, | 184 | memcpy((char *) midi_devs[dev], (char *) &sb_midi_operations, |
185 | sizeof(struct midi_operations)); | 185 | sizeof(struct midi_operations)); |
186 | 186 | ||
187 | if (owner) | 187 | if (owner) |
188 | midi_devs[dev]->owner = owner; | 188 | midi_devs[dev]->owner = owner; |
189 | 189 | ||
190 | midi_devs[dev]->devc = devc; | 190 | midi_devs[dev]->devc = devc; |
191 | 191 | ||
192 | 192 | ||