return 0;
}
---static struct snd_soc_codec_driver soc_codec_device_sirf_audio_codec = {
+++static const struct snd_soc_codec_driver soc_codec_device_sirf_audio_codec = {
.probe = sirf_audio_codec_probe,
.remove = sirf_audio_codec_remove,
-- -- .dapm_widgets = sirf_audio_codec_dapm_widgets,
-- -- .num_dapm_widgets = ARRAY_SIZE(sirf_audio_codec_dapm_widgets),
-- -- .dapm_routes = sirf_audio_codec_map,
-- -- .num_dapm_routes = ARRAY_SIZE(sirf_audio_codec_map),
++ ++ .component_driver = {
++ ++ .dapm_widgets = sirf_audio_codec_dapm_widgets,
++ ++ .num_dapm_widgets = ARRAY_SIZE(sirf_audio_codec_dapm_widgets),
++ ++ .dapm_routes = sirf_audio_codec_map,
++ ++ .num_dapm_routes = ARRAY_SIZE(sirf_audio_codec_map),
++ ++ },
.idle_bias_off = true,
};