From: Felix Fietkau Date: Mon, 28 Mar 2022 08:42:41 +0000 (+0200) Subject: ramips: fix kernel module build errors on linux 5.15 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=92081f9a34e6ebefcc03e4abdecdf85423e9c739;p=openwrt%2Fstaging%2Fneocturne.git ramips: fix kernel module build errors on linux 5.15 Signed-off-by: Felix Fietkau --- 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 188e015572..756a1c5b57 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 bacce79e30..633c5120e0 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 = {