summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8731.h
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2008-09-01 21:47:03 +0400
committerJaroslav Kysela <perex@perex.cz>2008-09-04 12:34:27 +0400
commitd2a403553ba7659d85dae2a05b1f3767d2fefcfe (patch)
treee902a5a87e8aa5359d2c7e7331ca22babf1694d6 /sound/soc/codecs/wm8731.h
parente5d3fd38f93755c5ab1e04b8e40196135f576355 (diff)
downloadlinux-d2a403553ba7659d85dae2a05b1f3767d2fefcfe.tar.xz
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.h1
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 @@
#define WM8731_DAI 0
struct wm8731_setup_data {
+ int spi;
int i2c_bus;
unsigned short i2c_address;
};