diff options
Diffstat (limited to 'sound/core/pcm_compat.c')
-rw-r--r-- | sound/core/pcm_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_compat.c b/sound/core/pcm_compat.c index 2b8aab6fd6cd..2b539799d23b 100644 --- a/sound/core/pcm_compat.c +++ b/sound/core/pcm_compat.c | |||
@@ -478,7 +478,7 @@ static long snd_pcm_ioctl_compat(struct file *file, unsigned int cmd, unsigned l | |||
478 | * mmap of PCM status/control records because of the size | 478 | * mmap of PCM status/control records because of the size |
479 | * incompatibility. | 479 | * incompatibility. |
480 | */ | 480 | */ |
481 | substream->no_mmap_ctrl = 1; | 481 | pcm_file->no_compat_mmap = 1; |
482 | 482 | ||
483 | switch (cmd) { | 483 | switch (cmd) { |
484 | case SNDRV_PCM_IOCTL_PVERSION: | 484 | case SNDRV_PCM_IOCTL_PVERSION: |