diff options
| author | 2015-12-07 13:31:00 +0100 | |
|---|---|---|
| committer | 2015-12-07 13:31:00 +0100 | |
| commit | 286d31f06d6cbc07c08c8b9df8ab42f3287eebba (patch) | |
| tree | f62c6ae8c6467843ce000ee6eae5f6eebd9efb7f /include | |
| parent | gpio: davinci: fix missed parent conversion (diff) | |
| parent | ASoC: ac97: add gpio chip (diff) | |
Merge tag 'asoc-ac97-gpio' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into devel
ASoC: Add a GPIO chip for AC'97
GPIOs are part of the AC'97 spec, enable their use on embedded platforms
using AC'97.
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/ac97_codec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h index 74bc85473b58..15aa5f07c955 100644 --- a/include/sound/ac97_codec.h +++ b/include/sound/ac97_codec.h @@ -417,11 +417,13 @@ #define AC97_RATES_MIC_ADC 4 #define AC97_RATES_SPDIF 5 +#define AC97_NUM_GPIOS 16 /* * */ struct snd_ac97; +struct snd_ac97_gpio_priv; struct snd_pcm_chmap; struct snd_ac97_build_ops { @@ -529,6 +531,7 @@ struct snd_ac97 { struct delayed_work power_work; #endif struct device dev; + struct snd_ac97_gpio_priv *gpio_priv; struct snd_pcm_chmap *chmaps[2]; /* channel-maps (optional) */ }; |
