]> Git Repo - linux.git/commitdiff
ALSA: hdspm - Provide ioctl_compat
authorAdrian Knoth <[email protected]>
Thu, 8 Mar 2012 14:38:04 +0000 (15:38 +0100)
committerTakashi Iwai <[email protected]>
Thu, 8 Mar 2012 14:58:58 +0000 (15:58 +0100)
snd_hdspm uses its own ioctls to acquire config- and status information.
Expose the corresponding ioctl handler via ioctl_compat, so that 32bit
applications can use it on 64bit kernels.

Signed-off-by: Adrian Knoth <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/pci/rme9652/hdspm.c

index cc9f6c83d661c93ba35926d475f11f3b85a3d354..bc030a2088da7928d0b9ebc5830fbeb743c59a37 100644 (file)
@@ -6333,6 +6333,7 @@ static int __devinit snd_hdspm_create_hwdep(struct snd_card *card,
 
        hw->ops.open = snd_hdspm_hwdep_dummy_op;
        hw->ops.ioctl = snd_hdspm_hwdep_ioctl;
+       hw->ops.ioctl_compat = snd_hdspm_hwdep_ioctl;
        hw->ops.release = snd_hdspm_hwdep_dummy_op;
 
        return 0;
This page took 0.068751 seconds and 4 git commands to generate.