ramips: fix kernel module build errors on linux 5.15

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2022-03-28 10:42:41 +02:00
parent 2edc017a6e
commit 92081f9a34
2 changed files with 2 additions and 1 deletions

View 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>

View 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 = {