diff options
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2012-03-08 15:38:04 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-03-08 15:58:58 +0100 |
commit | 8de5d6f19bbe7c77676a62ab52be901aa10d6b54 (patch) | |
tree | 15ad2feadb467b4e84baba33e93fffc9e08e2635 | |
parent | 526af6eb4dc71302f59806e2ccac7793963a7fe0 (diff) | |
download | linux-3.10-8de5d6f19bbe7c77676a62ab52be901aa10d6b54.tar.gz linux-3.10-8de5d6f19bbe7c77676a62ab52be901aa10d6b54.tar.bz2 linux-3.10-8de5d6f19bbe7c77676a62ab52be901aa10d6b54.zip |
ALSA: hdspm - Provide ioctl_compat
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 <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/rme9652/hdspm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index cc9f6c83d66..bc030a2088d 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c @@ -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; |