diff options
| author | Felix Fietkau | 2022-03-28 08:42:41 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2022-03-28 09:03:13 +0000 |
| commit | 92081f9a34e6ebefcc03e4abdecdf85423e9c739 (patch) | |
| tree | adbe4c7e5eb1f7b2576068ee6b7db2ca98bcf99a | |
| parent | 2edc017a6e0cb92b72b768aaa46c6d336ad84eff (diff) | |
| download | openwrt-92081f9a34e6ebefcc03e4abdecdf85423e9c739.tar.gz | |
ramips: fix kernel module build errors on linux 5.15
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rw-r--r-- | target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c | 1 | ||||
| -rw-r--r-- | target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch | 2 |
2 files changed, 2 insertions, 1 deletions
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 <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> 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 <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 = { |