From 92081f9a34e6ebefcc03e4abdecdf85423e9c739 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 28 Mar 2022 10:42:41 +0200 Subject: [PATCH] ramips: fix kernel module build errors on linux 5.15 Signed-off-by: Felix Fietkau --- target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c | 1 + .../linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c b/target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c index 188e0155722..756a1c5b57b 100644 --- a/target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c +++ b/target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include diff --git a/target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch b/target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch index bacce79e30d..633c5120e09 100644 --- a/target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch +++ b/target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch @@ -572,7 +572,7 @@ Signed-off-by: John Crispin + .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 = { -- 2.30.2