vserver 1.9.3
[linux-2.6.git] / sound / pci / au88x0 / au88x0_mpu401.c
index 3027c35..c0c2346 100644 (file)
@@ -104,7 +104,7 @@ static int __devinit snd_vortex_midi(vortex_t * vortex)
                         ~CTRL_MIDI_PORT) & ~CTRL_MIDI_EN);
                return temp;
        }
-       mpu = snd_magic_cast(mpu401_t, rmidi->private_data, return -ENOMEM);
+       mpu = rmidi->private_data;
        mpu->cport = (unsigned long)(vortex->mmio + (VORTEX_MIDI_CMD >> 2));
 #endif
        vortex->rmidi = rmidi;