From: Hauke Mehrtens Date: Wed, 13 Mar 2024 20:08:55 +0000 (+0100) Subject: kernel: kmod-video-cpia2: Depend on kernel 5.15 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9c6cf8e77c4adfa4808e937e76b8de38058d4e5a;p=openwrt%2Fstaging%2Fjow.git kernel: kmod-video-cpia2: Depend on kernel 5.15 This driver was moved to staging in kernel 6.1 and then removed in kernel 6.3, see these commits: https://git.kernel.org/linus/be8cebc46d9d38166a1b3fda22a018ae52b0928e https://git.kernel.org/linus/9ea8a9c72a9b4d24e6045ee25f5e465dc22f9f55 Build it only on older kernel versions. Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index e3a350e781..45034ba3e8 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -527,7 +527,7 @@ $(eval $(call KernelPackage,video-videobuf2)) define KernelPackage/video-cpia2 TITLE:=CPIA2 video driver - DEPENDS:=@USB_SUPPORT +kmod-usb-core + DEPENDS:=@USB_SUPPORT +kmod-usb-core @LINUX_5_15 KCONFIG:=CONFIG_VIDEO_CPIA2 FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/cpia2/cpia2.ko AUTOLOAD:=$(call AutoProbe,cpia2)