Skip to content

Commit

Permalink
ALSA: emux: Add trivial compat ioctl handler
Browse files Browse the repository at this point in the history
Reported-by: Carmen Cru <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
bwhacks authored and tiwai committed Sep 14, 2010
1 parent 47023ec commit a254dba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/synth/emux/emux_hwdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a254dba

Please sign in to comment.