mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-24 21:15:29 +00:00
ramips: mt7620: alignment with updated snd_soc_dai_driver structure
Fix error: 'struct snd_soc_dai_driver' has no member named 'remove'
It follows the kernel patch: ASoC: soc-dai.h: remove unused call back functions (446b31e894
)
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
This commit is contained in:
parent
c5dee97d87
commit
fddadcae43
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user