diff options
Diffstat (limited to 'sound/soc/txx9/txx9aclc.h')
-rw-r--r-- | sound/soc/txx9/txx9aclc.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/sound/soc/txx9/txx9aclc.h b/sound/soc/txx9/txx9aclc.h index 6769aab41b33..9c2de84fec3b 100644 --- a/sound/soc/txx9/txx9aclc.h +++ b/sound/soc/txx9/txx9aclc.h | |||
@@ -65,19 +65,10 @@ struct txx9aclc_plat_drvdata { | |||
65 | u64 physbase; | 65 | u64 physbase; |
66 | }; | 66 | }; |
67 | 67 | ||
68 | struct txx9aclc_soc_device { | ||
69 | struct snd_soc_device soc_dev; | ||
70 | struct platform_device *aclc_pdev; /* for ioresources, drvdata */ | ||
71 | struct txx9aclc_dmadata dmadata[2]; | ||
72 | }; | ||
73 | |||
74 | static inline struct txx9aclc_plat_drvdata *txx9aclc_get_plat_drvdata( | 68 | static inline struct txx9aclc_plat_drvdata *txx9aclc_get_plat_drvdata( |
75 | struct txx9aclc_soc_device *sdev) | 69 | struct snd_soc_dai *dai) |
76 | { | 70 | { |
77 | return platform_get_drvdata(sdev->aclc_pdev); | 71 | return dev_get_drvdata(dai->dev); |
78 | } | 72 | } |
79 | 73 | ||
80 | extern struct snd_soc_platform txx9aclc_soc_platform; | ||
81 | extern struct snd_soc_dai txx9aclc_ac97_dai; | ||
82 | |||
83 | #endif /* __TXX9ACLC_H */ | 74 | #endif /* __TXX9ACLC_H */ |