ramips: fix kernel module build errors on linux 5.15
authorFelix Fietkau <nbd@nbd.name>
Mon, 28 Mar 2022 08:42:41 +0000 (10:42 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 28 Mar 2022 09:03:13 +0000 (11:03 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c
target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch

index 188e0155722e1b016937c2b994bf186d818964ab..756a1c5b57b0e8a273ad20721028c700f6597b11 100644 (file)
@@ -39,6 +39,7 @@
 #include <linux/spinlock.h>
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
+#include <linux/of.h>
 
 #include <linux/mmc/host.h>
 #include <linux/mmc/mmc.h>
index bacce79e30d8bb88bb0298f1bd17c10e791a5470..633c5120e096f97a5e641175ab4a349a34e592aa 100644 (file)
@@ -572,7 +572,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +              .rates = SNDRV_PCM_RATE_CONTINUOUS,
 +              .formats = SNDRV_PCM_FMTBIT_S16_LE,
 +      },
-+      .symmetric_rates = 1,
++      .symmetric_rate = 1,
 +};
 +
 +static struct snd_pcm_hardware ralink_pcm_hardware = {