Skip to content

Commit

Permalink
ramips: fix kernel module build errors on linux 5.15
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Mar 28, 2022
1 parent 2edc017 commit 92081f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions target/linux/ramips/files/drivers/mmc/host/mtk-mmc/sd.c
Expand Up @@ -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>
Expand Down
Expand Up @@ -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 = {
Expand Down

0 comments on commit 92081f9

Please sign in to comment.