Loading sound/soc/dwc/dwc-pcm.c +3 −2 Original line number Diff line number Diff line Loading @@ -269,7 +269,7 @@ static const struct snd_pcm_ops dw_pcm_ops = { .pointer = dw_pcm_pointer, }; static const struct snd_soc_platform_driver dw_pcm_platform = { static const struct snd_soc_component_driver dw_pcm_component = { .pcm_new = dw_pcm_new, .pcm_free = dw_pcm_free, .ops = &dw_pcm_ops, Loading @@ -277,5 +277,6 @@ static const struct snd_soc_platform_driver dw_pcm_platform = { int dw_pcm_register(struct platform_device *pdev) { return devm_snd_soc_register_platform(&pdev->dev, &dw_pcm_platform); return devm_snd_soc_register_component(&pdev->dev, &dw_pcm_component, NULL, 0); } Loading
sound/soc/dwc/dwc-pcm.c +3 −2 Original line number Diff line number Diff line Loading @@ -269,7 +269,7 @@ static const struct snd_pcm_ops dw_pcm_ops = { .pointer = dw_pcm_pointer, }; static const struct snd_soc_platform_driver dw_pcm_platform = { static const struct snd_soc_component_driver dw_pcm_component = { .pcm_new = dw_pcm_new, .pcm_free = dw_pcm_free, .ops = &dw_pcm_ops, Loading @@ -277,5 +277,6 @@ static const struct snd_soc_platform_driver dw_pcm_platform = { int dw_pcm_register(struct platform_device *pdev) { return devm_snd_soc_register_platform(&pdev->dev, &dw_pcm_platform); return devm_snd_soc_register_component(&pdev->dev, &dw_pcm_component, NULL, 0); }