aboutsummaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2024-01-18 11:19:30 -0800
committerChristian Marangi <ansuelsmth@gmail.com>2024-02-02 17:31:44 +0100
commit76b0d24157f26127db3b931e67c4d22ddbc3ff0b (patch)
treeab58f7c0bb5ce8e06d35aef2edcc3e73fdd75dfb /package/kernel
parent6a78fb0a9ec7505e9d8ddeea548518a119ef137c (diff)
kernel: modules: video: fix video-core for 6.1
Linux 6.1 wraps core video drivers in a MEDIA_PLATFORM_DRIVERS submenu. Enable that for 6.1 and add some new necessary undefines to target/linux/generic/config-6.1 to avoid build failures. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/video.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 7bd1d468c7..10da2ad3aa 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -465,7 +465,8 @@ define KernelPackage/video-core
CONFIG_MEDIA_SUPPORT \
CONFIG_MEDIA_CAMERA_SUPPORT=y \
CONFIG_VIDEO_DEV \
- CONFIG_V4L_PLATFORM_DRIVERS=y
+ CONFIG_V4L_PLATFORM_DRIVERS=y \
+ CONFIG_MEDIA_PLATFORM_DRIVERS=y@ge6.1
FILES:= \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
AUTOLOAD:=$(call AutoLoad,60, videodev v4l2-common)