X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=sound%2Foss%2Fv_midi.c;h=103940fd5b4f46e9e2ae7c8435acf64938679faa;hb=30ef898c535bffd105c1a9b9b6563969b3deb31e;hp=077b7679766590c52bd0d2390fd117f919aa8f39;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=~andy%2Flinux diff --git a/sound/oss/v_midi.c b/sound/oss/v_midi.c index 077b7679766..103940fd5b4 100644 --- a/sound/oss/v_midi.c +++ b/sound/oss/v_midi.c @@ -1,5 +1,5 @@ /* - * sound/v_midi.c + * sound/oss/v_midi.c * * The low level driver for the Sound Blaster DS chips. * @@ -39,8 +39,6 @@ static void *midi_mem = NULL; */ -void (*midi_input_intr) (int dev, unsigned char data); - static int v_midi_open (int dev, int mode, void (*input) (int dev, unsigned char data), void (*output) (int dev) @@ -185,7 +183,7 @@ static void __init attach_v_midi (struct address_info *hw_config) return; } - m=(struct vmidi_memory *)kmalloc(sizeof(struct vmidi_memory), GFP_KERNEL); + m = kmalloc(sizeof(struct vmidi_memory), GFP_KERNEL); if (m == NULL) { printk(KERN_WARNING "Loopback MIDI: Failed to allocate memory\n");