Add missing include for stk1160 for kernels <= 5.13

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
Hans Verkuil
2022-03-22 10:55:39 +01:00
parent 1adb1293d3
commit f90827f9cc
2 changed files with 13 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ add v5.14_bus_void_return.patch
[5.13.1023]
add v5.13_atmel.patch
add v5.13_stk1160.patch
[5.12.1023]
add v5.12_uvc.patch

View File

@@ -0,0 +1,12 @@
diff --git a/drivers/media/usb/stk1160/stk1160-video.c b/drivers/media/usb/stk1160/stk1160-video.c
index 4e966f6bf608..be074d9cdd65 100644
--- a/drivers/media/usb/stk1160/stk1160-video.c
+++ b/drivers/media/usb/stk1160/stk1160-video.c
@@ -11,6 +11,7 @@
*/
#include <linux/module.h>
+#include <linux/highmem.h>
#include <linux/usb.h>
#include <linux/slab.h>
#include <linux/ratelimit.h>