X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=sound%2Fsynth%2Femux%2Femux_hwdep.c;fp=sound%2Fsynth%2Femux%2Femux_hwdep.c;h=5ae1eae9f6dbc2491c5b6bb378ca81cc896e22dc;hb=59f40aff7930052a74ddf5c297aa1974b0838529;hp=ff0b2a8fd25bbe20dd51191935582746f8ba6edf;hpb=291b7c3a02a7eafbb8ea89a2c0e93676d6972926;p=mv-sheeva.git diff --git a/sound/synth/emux/emux_hwdep.c b/sound/synth/emux/emux_hwdep.c index ff0b2a8fd25..5ae1eae9f6d 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)