[ALSA] virmidi - fix ioctl parameter passing when creating seq port
[linux-2.6.git] / sound / core / seq / seq_virmidi.c
index 6b4e630ace54108c6ce2d2bb4f012b4896845fb7..1274ab4546bc86ba6f4412fda644e485d429f68b 100644 (file)
@@ -405,7 +405,7 @@ static int snd_virmidi_dev_attach_seq(snd_virmidi_dev_t *rdev)
        pcallbacks.unuse = snd_virmidi_unuse;
        pcallbacks.event_input = snd_virmidi_event_input;
        pinfo->kernel = &pcallbacks;
-       err = snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_CREATE_PORT, &pinfo);
+       err = snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_CREATE_PORT, pinfo);
        if (err < 0) {
                snd_seq_delete_kernel_client(client);
                rdev->client = -1;