提交 a254dba3 编写于 作者: B Ben Hutchings 提交者: Takashi Iwai

ALSA: emux: Add trivial compat ioctl handler

Reported-by: NCarmen Cru <carmen.cru@belgacom.net>
Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 47023ec7
......@@ -128,6 +128,9 @@ snd_emux_init_hwdep(struct snd_emux *emu)
strcpy(hw->name, SNDRV_EMUX_HWDEP_NAME);
hw->iface = SNDRV_HWDEP_IFACE_EMUX_WAVETABLE;
hw->ops.ioctl = snd_emux_hwdep_ioctl;
/* The ioctl parameter types are compatible between 32- and
* 64-bit architectures, so use the same function. */
hw->ops.ioctl_compat = snd_emux_hwdep_ioctl;
hw->exclusive = 1;
hw->private_data = emu;
if ((err = snd_card_register(emu->card)) < 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册