Browse Source

ramips: fix kernel module build errors on linux 5.15

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 3 năm trước cách đây
mục cha
commit
92081f9a34

+ 1 - 0
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>

+ 1 - 1
target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch

@@ -572,7 +572,7 @@ Signed-off-by: John Crispin <[email protected]>
 +		.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 = {