Add v5.5_go7007.patch to fix go7007 warning

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
Hans Verkuil
2022-03-23 10:58:40 +01:00
parent 667a5a15ce
commit 47e6d5a60b
2 changed files with 14 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ add v5.5_alsa_pcm_api_updates.patch
add v5.5_memtype_h.patch
add v5.5_dev_printk_h.patch
add v5.5_vb2_kmap.patch
add v5.5_go7007.patch
[5.4.1023]
add v5.4_revert_spi_transfer.patch

View File

@@ -0,0 +1,13 @@
diff --git a/drivers/media/usb/go7007/snd-go7007.c b/drivers/media/usb/go7007/snd-go7007.c
index 9a6bd87fce03..2ce85ab38db5 100644
--- a/drivers/media/usb/go7007/snd-go7007.c
+++ b/drivers/media/usb/go7007/snd-go7007.c
@@ -191,7 +191,7 @@ static int go7007_snd_free(struct snd_device *device)
return 0;
}
-static const struct snd_device_ops go7007_snd_device_ops = {
+static struct snd_device_ops go7007_snd_device_ops = {
.dev_free = go7007_snd_free,
};