aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dai.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-05-05 05:27:38 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-05-05 05:27:38 -0400
commitbbd993077d788589a86a718ba7a7895ba5e71a17 (patch)
treee7616850c96bea0169aa1f37314c5554f1cda281 /include/sound/soc-dai.h
parentb290750172b97cb48497a277b3e628083e7246cb (diff)
ASoC: Remove redundant codec pointer from DAIs
The DAI structure has two pointers to the codec, one in the body of the DAI and one in a union for a parent pointer. Drop the parent pointer version. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc-dai.h')
-rw-r--r--include/sound/soc-dai.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h
index a997c2cac63f..496dc30457b7 100644
--- a/include/sound/soc-dai.h
+++ b/include/sound/soc-dai.h
@@ -205,11 +205,8 @@ struct snd_soc_dai {
205 /* DAI private data */ 205 /* DAI private data */
206 void *private_data; 206 void *private_data;
207 207
208 /* parent codec/platform */ 208 /* parent platform */
209 union { 209 struct snd_soc_platform *platform;
210 struct snd_soc_codec *codec;
211 struct snd_soc_platform *platform;
212 };
213 210
214 struct list_head list; 211 struct list_head list;
215}; 212};