ramips: fix kernel module build errors on linux 5.15
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
2edc017a6e
commit
92081f9a34
2 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@
|
||||||
#include <linux/spinlock.h>
|
#include <linux/spinlock.h>
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
#include <linux/interrupt.h>
|
#include <linux/interrupt.h>
|
||||||
|
#include <linux/of.h>
|
||||||
|
|
||||||
#include <linux/mmc/host.h>
|
#include <linux/mmc/host.h>
|
||||||
#include <linux/mmc/mmc.h>
|
#include <linux/mmc/mmc.h>
|
||||||
|
|
|
@ -572,7 +572,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
||||||
+ .rates = SNDRV_PCM_RATE_CONTINUOUS,
|
+ .rates = SNDRV_PCM_RATE_CONTINUOUS,
|
||||||
+ .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
+ .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
||||||
+ },
|
+ },
|
||||||
+ .symmetric_rates = 1,
|
+ .symmetric_rate = 1,
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+static struct snd_pcm_hardware ralink_pcm_hardware = {
|
+static struct snd_pcm_hardware ralink_pcm_hardware = {
|
||||||
|
|
Loading…
Reference in a new issue