kernel: kmod-video-cpia2: Depend on kernel 5.15
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 13 Mar 2024 20:08:55 +0000 (21:08 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 14 Mar 2024 19:56:18 +0000 (20:56 +0100)
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 <hauke@hauke-m.de>
package/kernel/linux/modules/video.mk

index e3a350e78186ed2f7e507e8e0b6d01c86a499930..45034ba3e85d001ba86484bf1758ee00f981ebdf 100644 (file)
@@ -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)