summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ak4535.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-09-01 17:46:59 (GMT)
committerJaroslav Kysela <perex@perex.cz>2008-09-04 08:34:21 (GMT)
commitd28d271328a4bf391c8d5251e54618b794ee2b3a (patch)
tree4d92352d78761522fd552fdd56cc6a949dd3b1bc /sound/soc/codecs/ak4535.h
parent88fc39d721c3e5d32fd57d682b80fe0626379efb (diff)
downloadlinux-d28d271328a4bf391c8d5251e54618b794ee2b3a.tar.xz
ALSA: ASoC: Convert ak4535 to a new-style i2c driver
Convert the ak4535 codec driver to the new (standard) device driver binding model. After this change, AK4535 devices are no longer discovered automatically and must instead be instantiated explicitly. Signed-off-by: Jean Delvare <khali@linux-fr.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/ak4535.h')
-rw-r--r--sound/soc/codecs/ak4535.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/ak4535.h b/sound/soc/codecs/ak4535.h
index e9fe30e..c7a5870 100644
--- a/sound/soc/codecs/ak4535.h
+++ b/sound/soc/codecs/ak4535.h
@@ -37,6 +37,7 @@
#define AK4535_CACHEREGNUM 0x10
struct ak4535_setup_data {
+ int i2c_bus;
unsigned short i2c_address;
};