mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-10-19 05:58:53 +02:00
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
@ -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 New Issue
Block a user