X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fcore%2Fpcm_compat.c;h=e5133033de5e5fdf049ab51d2001677c58555738;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=2b8aab6fd6cd312365a658c2aefd074a7768df64;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/sound/core/pcm_compat.c b/sound/core/pcm_compat.c index 2b8aab6fd..e5133033d 100644 --- a/sound/core/pcm_compat.c +++ b/sound/core/pcm_compat.c @@ -497,9 +497,9 @@ static long snd_pcm_ioctl_compat(struct file *file, unsigned int cmd, unsigned l case SNDRV_PCM_IOCTL_LINK: case SNDRV_PCM_IOCTL_UNLINK: if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) - return snd_pcm_playback_ioctl1(file, substream, cmd, argp); + return snd_pcm_playback_ioctl1(substream, cmd, argp); else - return snd_pcm_capture_ioctl1(file, substream, cmd, argp); + return snd_pcm_capture_ioctl1(substream, cmd, argp); case SNDRV_PCM_IOCTL_HW_REFINE32: return snd_pcm_ioctl_hw_params_compat(substream, 1, argp); case SNDRV_PCM_IOCTL_HW_PARAMS32: