diff options
Diffstat (limited to 'sound/pci/ice1712/ice1712.h')
-rw-r--r-- | sound/pci/ice1712/ice1712.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/pci/ice1712/ice1712.h b/sound/pci/ice1712/ice1712.h index 6ac486d9c138..58640afa5404 100644 --- a/sound/pci/ice1712/ice1712.h +++ b/sound/pci/ice1712/ice1712.h | |||
@@ -4,7 +4,7 @@ | |||
4 | /* | 4 | /* |
5 | * ALSA driver for ICEnsemble ICE1712 (Envy24) | 5 | * ALSA driver for ICEnsemble ICE1712 (Envy24) |
6 | * | 6 | * |
7 | * Copyright (c) 2000 Jaroslav Kysela <perex@suse.cz> | 7 | * Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
@@ -451,11 +451,10 @@ static inline void snd_ice1712_restore_gpio_status(struct snd_ice1712 *ice) | |||
451 | 451 | ||
452 | /* for bit controls */ | 452 | /* for bit controls */ |
453 | #define ICE1712_GPIO(xiface, xname, xindex, mask, invert, xaccess) \ | 453 | #define ICE1712_GPIO(xiface, xname, xindex, mask, invert, xaccess) \ |
454 | { .iface = xiface, .name = xname, .access = xaccess, .info = snd_ice1712_gpio_info, \ | 454 | { .iface = xiface, .name = xname, .access = xaccess, .info = snd_ctl_boolean_mono_info, \ |
455 | .get = snd_ice1712_gpio_get, .put = snd_ice1712_gpio_put, \ | 455 | .get = snd_ice1712_gpio_get, .put = snd_ice1712_gpio_put, \ |
456 | .private_value = mask | (invert << 24) } | 456 | .private_value = mask | (invert << 24) } |
457 | 457 | ||
458 | int snd_ice1712_gpio_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); | ||
459 | int snd_ice1712_gpio_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); | 458 | int snd_ice1712_gpio_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); |
460 | int snd_ice1712_gpio_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); | 459 | int snd_ice1712_gpio_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); |
461 | 460 | ||