From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Hutchings Subject: Bug#596478: [PATCH] ALSA: emux: Add trivial compat ioctl handler Date: Sun, 12 Sep 2010 02:41:47 +0100 Message-ID: <1284255707.5323.638.camel@localhost> Reply-To: Ben Hutchings , 596478@bugs.debian.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Resent-To: debian-bugs-dist@lists.debian.org Resent-Message-ID: List-URL: List-Post: List-Help: List-Subscribe: List-Unsubscribe: To: Jaroslav Kysela , Takashi Iwai Cc: alsa-devel@alsa-project.org, Carmen Cru , 596478@bugs.debian.org List-Id: alsa-devel@alsa-project.org Reported-by: Carmen Cru Signed-off-by: Ben Hutchings --- This is compile-tested only. Ben. sound/synth/emux/emux_hwdep.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) 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 =3D SNDRV_HWDEP_IFACE_EMUX_WAVETABLE; hw->ops.ioctl =3D 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 =3D snd_emux_hwdep_ioctl; hw->exclusive =3D 1; hw->private_data =3D emu; if ((err =3D snd_card_register(emu->card)) < 0) --=20 1.7.1