25 Feb
2015
25 Feb
'15
2:32 p.m.
Let's make things line up a little bit better.
Signed-off-by: Dan Carpenter dan.carpenter@oracle.com
diff --git a/sound/oss/sb_midi.c b/sound/oss/sb_midi.c index f139028..551ee75 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) { printk(KERN_WARNING "Sound Blaster: failed to allocate MIDI memory.\n"); sound_unload_mididev(dev); - return; + return; } memcpy((char *) midi_devs[dev], (char *) &sb_midi_operations, sizeof(struct midi_operations));
if (owner) - midi_devs[dev]->owner = owner; - + midi_devs[dev]->owner = owner; + midi_devs[dev]->devc = devc;