diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2009-07-22 07:01:03 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-07-23 06:30:56 -0400 |
commit | 474828a40f6ddab6e2a3475a19c5c84aa3ec7d60 (patch) | |
tree | 15da7b963bbe20704bca139b355a020686f97a52 /include/sound/soc-dai.h | |
parent | a7569afa8b79ca9272b0d7544335bc05b5b721d6 (diff) |
ALSA: Allow passing platform_data to devices attached to AC97 bus
This patch allows passing platform_data to devices attached to AC97 bus
(like touchscreens, battery measurement chips ...).
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc-dai.h')
-rw-r--r-- | include/sound/soc-dai.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index 05991b0925e0..25d62ac53fc5 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h | |||
@@ -179,6 +179,7 @@ struct snd_soc_dai { | |||
179 | int ac97_control; | 179 | int ac97_control; |
180 | 180 | ||
181 | struct device *dev; | 181 | struct device *dev; |
182 | void *ac97_pdata; /* platform_data for the ac97 codec */ | ||
182 | 183 | ||
183 | /* DAI callbacks */ | 184 | /* DAI callbacks */ |
184 | int (*probe)(struct platform_device *pdev, | 185 | int (*probe)(struct platform_device *pdev, |