diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-02 11:01:14 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-02 11:03:40 -0500 |
commit | 87689d567a45f80416feea0a2aa6d3a2a6b8963a (patch) | |
tree | d33d923e9e359f3be124d0a63c30b41637b9f933 /sound/soc/omap | |
parent | 6308419a199eed66086cd756ab8dc81b88d54a6b (diff) |
ASoC: Push platform registration down into the card
As part of the deprecation of snd_soc_device push the registration of
the platform down into the card structure.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r-- | sound/soc/omap/n810.c | 2 | ||||
-rw-r--r-- | sound/soc/omap/omap2evm.c | 2 | ||||
-rw-r--r-- | sound/soc/omap/omap3beagle.c | 2 | ||||
-rw-r--r-- | sound/soc/omap/osk5912.c | 2 | ||||
-rw-r--r-- | sound/soc/omap/overo.c | 2 | ||||
-rw-r--r-- | sound/soc/omap/sdp3430.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/omap/n810.c b/sound/soc/omap/n810.c index 18e2062e3a11..25593fee9121 100644 --- a/sound/soc/omap/n810.c +++ b/sound/soc/omap/n810.c | |||
@@ -288,6 +288,7 @@ static struct snd_soc_dai_link n810_dai = { | |||
288 | /* Audio machine driver */ | 288 | /* Audio machine driver */ |
289 | static struct snd_soc_card snd_soc_n810 = { | 289 | static struct snd_soc_card snd_soc_n810 = { |
290 | .name = "N810", | 290 | .name = "N810", |
291 | .platform = &omap_soc_platform, | ||
291 | .dai_link = &n810_dai, | 292 | .dai_link = &n810_dai, |
292 | .num_links = 1, | 293 | .num_links = 1, |
293 | }; | 294 | }; |
@@ -303,7 +304,6 @@ static struct aic3x_setup_data n810_aic33_setup = { | |||
303 | /* Audio subsystem */ | 304 | /* Audio subsystem */ |
304 | static struct snd_soc_device n810_snd_devdata = { | 305 | static struct snd_soc_device n810_snd_devdata = { |
305 | .card = &snd_soc_n810, | 306 | .card = &snd_soc_n810, |
306 | .platform = &omap_soc_platform, | ||
307 | .codec_dev = &soc_codec_dev_aic3x, | 307 | .codec_dev = &soc_codec_dev_aic3x, |
308 | .codec_data = &n810_aic33_setup, | 308 | .codec_data = &n810_aic33_setup, |
309 | }; | 309 | }; |
diff --git a/sound/soc/omap/omap2evm.c b/sound/soc/omap/omap2evm.c index 7b160f9d83f9..0c2322dcf02a 100644 --- a/sound/soc/omap/omap2evm.c +++ b/sound/soc/omap/omap2evm.c | |||
@@ -93,6 +93,7 @@ static struct snd_soc_dai_link omap2evm_dai = { | |||
93 | /* Audio machine driver */ | 93 | /* Audio machine driver */ |
94 | static struct snd_soc_card snd_soc_omap2evm = { | 94 | static struct snd_soc_card snd_soc_omap2evm = { |
95 | .name = "omap2evm", | 95 | .name = "omap2evm", |
96 | .platform = &omap_soc_platform, | ||
96 | .dai_link = &omap2evm_dai, | 97 | .dai_link = &omap2evm_dai, |
97 | .num_links = 1, | 98 | .num_links = 1, |
98 | }; | 99 | }; |
@@ -100,7 +101,6 @@ static struct snd_soc_card snd_soc_omap2evm = { | |||
100 | /* Audio subsystem */ | 101 | /* Audio subsystem */ |
101 | static struct snd_soc_device omap2evm_snd_devdata = { | 102 | static struct snd_soc_device omap2evm_snd_devdata = { |
102 | .card = &snd_soc_omap2evm, | 103 | .card = &snd_soc_omap2evm, |
103 | .platform = &omap_soc_platform, | ||
104 | .codec_dev = &soc_codec_dev_twl4030, | 104 | .codec_dev = &soc_codec_dev_twl4030, |
105 | }; | 105 | }; |
106 | 106 | ||
diff --git a/sound/soc/omap/omap3beagle.c b/sound/soc/omap/omap3beagle.c index 3ed25464627f..fd24a4acd2f5 100644 --- a/sound/soc/omap/omap3beagle.c +++ b/sound/soc/omap/omap3beagle.c | |||
@@ -90,6 +90,7 @@ static struct snd_soc_dai_link omap3beagle_dai = { | |||
90 | /* Audio machine driver */ | 90 | /* Audio machine driver */ |
91 | static struct snd_soc_card snd_soc_omap3beagle = { | 91 | static struct snd_soc_card snd_soc_omap3beagle = { |
92 | .name = "omap3beagle", | 92 | .name = "omap3beagle", |
93 | .platform = &omap_soc_platform, | ||
93 | .dai_link = &omap3beagle_dai, | 94 | .dai_link = &omap3beagle_dai, |
94 | .num_links = 1, | 95 | .num_links = 1, |
95 | }; | 96 | }; |
@@ -97,7 +98,6 @@ static struct snd_soc_card snd_soc_omap3beagle = { | |||
97 | /* Audio subsystem */ | 98 | /* Audio subsystem */ |
98 | static struct snd_soc_device omap3beagle_snd_devdata = { | 99 | static struct snd_soc_device omap3beagle_snd_devdata = { |
99 | .card = &snd_soc_omap3beagle, | 100 | .card = &snd_soc_omap3beagle, |
100 | .platform = &omap_soc_platform, | ||
101 | .codec_dev = &soc_codec_dev_twl4030, | 101 | .codec_dev = &soc_codec_dev_twl4030, |
102 | }; | 102 | }; |
103 | 103 | ||
diff --git a/sound/soc/omap/osk5912.c b/sound/soc/omap/osk5912.c index 7a8f14d0c772..845bf41335b9 100644 --- a/sound/soc/omap/osk5912.c +++ b/sound/soc/omap/osk5912.c | |||
@@ -145,6 +145,7 @@ static struct snd_soc_dai_link osk_dai = { | |||
145 | /* Audio machine driver */ | 145 | /* Audio machine driver */ |
146 | static struct snd_soc_card snd_soc_card_osk = { | 146 | static struct snd_soc_card snd_soc_card_osk = { |
147 | .name = "OSK5912", | 147 | .name = "OSK5912", |
148 | .platform = &omap_soc_platform, | ||
148 | .dai_link = &osk_dai, | 149 | .dai_link = &osk_dai, |
149 | .num_links = 1, | 150 | .num_links = 1, |
150 | }; | 151 | }; |
@@ -152,7 +153,6 @@ static struct snd_soc_card snd_soc_card_osk = { | |||
152 | /* Audio subsystem */ | 153 | /* Audio subsystem */ |
153 | static struct snd_soc_device osk_snd_devdata = { | 154 | static struct snd_soc_device osk_snd_devdata = { |
154 | .card = &snd_soc_card_osk, | 155 | .card = &snd_soc_card_osk, |
155 | .platform = &omap_soc_platform, | ||
156 | .codec_dev = &soc_codec_dev_tlv320aic23, | 156 | .codec_dev = &soc_codec_dev_tlv320aic23, |
157 | }; | 157 | }; |
158 | 158 | ||
diff --git a/sound/soc/omap/overo.c b/sound/soc/omap/overo.c index eea0c372bb3f..a72dc4e159e5 100644 --- a/sound/soc/omap/overo.c +++ b/sound/soc/omap/overo.c | |||
@@ -90,6 +90,7 @@ static struct snd_soc_dai_link overo_dai = { | |||
90 | /* Audio machine driver */ | 90 | /* Audio machine driver */ |
91 | static struct snd_soc_card snd_soc_card_overo = { | 91 | static struct snd_soc_card snd_soc_card_overo = { |
92 | .name = "overo", | 92 | .name = "overo", |
93 | .platform = &omap_soc_platform, | ||
93 | .dai_link = &overo_dai, | 94 | .dai_link = &overo_dai, |
94 | .num_links = 1, | 95 | .num_links = 1, |
95 | }; | 96 | }; |
@@ -97,7 +98,6 @@ static struct snd_soc_card snd_soc_card_overo = { | |||
97 | /* Audio subsystem */ | 98 | /* Audio subsystem */ |
98 | static struct snd_soc_device overo_snd_devdata = { | 99 | static struct snd_soc_device overo_snd_devdata = { |
99 | .card = &snd_soc_card_overo, | 100 | .card = &snd_soc_card_overo, |
100 | .platform = &omap_soc_platform, | ||
101 | .codec_dev = &soc_codec_dev_twl4030, | 101 | .codec_dev = &soc_codec_dev_twl4030, |
102 | }; | 102 | }; |
103 | 103 | ||
diff --git a/sound/soc/omap/sdp3430.c b/sound/soc/omap/sdp3430.c index 85fd160bca17..ad97836818b1 100644 --- a/sound/soc/omap/sdp3430.c +++ b/sound/soc/omap/sdp3430.c | |||
@@ -93,6 +93,7 @@ static struct snd_soc_dai_link sdp3430_dai = { | |||
93 | /* Audio machine driver */ | 93 | /* Audio machine driver */ |
94 | static struct snd_soc_machine snd_soc_machine_sdp3430 = { | 94 | static struct snd_soc_machine snd_soc_machine_sdp3430 = { |
95 | .name = "SDP3430", | 95 | .name = "SDP3430", |
96 | .platform = &omap_soc_platform, | ||
96 | .dai_link = &sdp3430_dai, | 97 | .dai_link = &sdp3430_dai, |
97 | .num_links = 1, | 98 | .num_links = 1, |
98 | }; | 99 | }; |
@@ -100,7 +101,6 @@ static struct snd_soc_machine snd_soc_machine_sdp3430 = { | |||
100 | /* Audio subsystem */ | 101 | /* Audio subsystem */ |
101 | static struct snd_soc_device sdp3430_snd_devdata = { | 102 | static struct snd_soc_device sdp3430_snd_devdata = { |
102 | .machine = &snd_soc_machine_sdp3430, | 103 | .machine = &snd_soc_machine_sdp3430, |
103 | .platform = &omap_soc_platform, | ||
104 | .codec_dev = &soc_codec_dev_twl4030, | 104 | .codec_dev = &soc_codec_dev_twl4030, |
105 | }; | 105 | }; |
106 | 106 | ||