From: Ben Hutchings Date: Sun, 12 Sep 2010 01:41:47 +0000 (+0100) Subject: ALSA: emux: Add trivial compat ioctl handler X-Git-Tag: v2.6.37-rc1~82^2~9^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a254dba37c5a372fc8b44ba29509ba052d4e859d;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git ALSA: emux: Add trivial compat ioctl handler Reported-by: Carmen Cru Signed-off-by: Ben Hutchings Signed-off-by: Takashi Iwai --- diff --git a/sound/synth/emux/emux_hwdep.c b/sound/synth/emux/emux_hwdep.c index ff0b2a8..5ae1eae 100644 --- a/sound/synth/emux/emux_hwdep.c +++ b/sound/synth/emux/emux_hwdep.c @@ -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)