ramips: mt7620: alignment with updated snd_soc_dai_driver structure
[openwrt/staging/xback.git] / target / linux / ramips / patches-6.6 / 835-asoc-add-mt7620-support.patch
index 2c40fba69412b911d52f6711d92cc72f60394a8a..8e1095ab0032e0e1bcca4a0a98f0f2d97147cd11 100644 (file)
@@ -545,12 +545,12 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +      .shutdown = ralink_i2s_shutdown,
 +      .hw_params = ralink_i2s_hw_params,
 +      .trigger = ralink_i2s_trigger,
++      .probe = ralink_i2s_dai_probe,
++      .remove = ralink_i2s_dai_remove,
 +};
 +
 +static struct snd_soc_dai_driver ralink_i2s_dai = {
 +      .name = DRV_NAME,
-+      .probe = ralink_i2s_dai_probe,
-+      .remove = ralink_i2s_dai_remove,
 +      .ops = &ralink_i2s_dai_ops,
 +      .capture = {
 +              .stream_name = "I2S Capture",