diff options
author | Cliff Cai <cliff.cai@analog.com> | 2008-09-01 13:47:03 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-09-04 04:34:27 -0400 |
commit | d2a403553ba7659d85dae2a05b1f3767d2fefcfe (patch) | |
tree | e902a5a87e8aa5359d2c7e7331ca22babf1694d6 /sound/soc/codecs/wm8731.h | |
parent | e5d3fd38f93755c5ab1e04b8e40196135f576355 (diff) |
ALSA: ASoC: Add SPI support for WM8731
[Modified to allow runtime selection between I2C and SPI and to select
SPI_MASTER for all codecs build so this is included. -- broonie]
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/soc/codecs/wm8731.h')
-rw-r--r-- | sound/soc/codecs/wm8731.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8731.h b/sound/soc/codecs/wm8731.h index 0f8123909ab0..95190e9c0c14 100644 --- a/sound/soc/codecs/wm8731.h +++ b/sound/soc/codecs/wm8731.h | |||
@@ -35,6 +35,7 @@ | |||
35 | #define WM8731_DAI 0 | 35 | #define WM8731_DAI 0 |
36 | 36 | ||
37 | struct wm8731_setup_data { | 37 | struct wm8731_setup_data { |
38 | int spi; | ||
38 | int i2c_bus; | 39 | int i2c_bus; |
39 | unsigned short i2c_address; | 40 | unsigned short i2c_address; |
40 | }; | 41 | }; |