kernel: modules: video: add missing video-mem2mem symbol
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 3 Feb 2024 11:03:56 +0000 (12:03 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 5 Feb 2024 17:25:16 +0000 (18:25 +0100)
v4l2-mem2mem.ko needs CONFIG_V4L2_MEM2MEM_DEV symbol.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
package/kernel/linux/modules/video.mk

index f39bea3bcb65b9929a1409b648f23c26e8e59fa5..982bcb1db00b76e6b5b449b773906e9023fe1b46 100644 (file)
@@ -1112,7 +1112,9 @@ define KernelPackage/video-mem2mem
   TITLE:=Memory 2 Memory device support
   HIDDEN:=1
   DEPENDS:=+kmod-video-videobuf2
-  KCONFIG:= CONFIG_V4L_MEM2MEM_DRIVERS=y
+  KCONFIG:= \
+    CONFIG_V4L_MEM2MEM_DRIVERS=y \
+    CONFIG_V4L2_MEM2MEM_DEV
   FILES:= $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-mem2mem.ko
   AUTOLOAD:=$(call AutoLoad,66,v4l2-mem2mem)
   $(call AddDepends/video)