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 <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2024-03-13 21:08:55 +01:00
parent fcf0453549
commit 9c6cf8e77c
1 changed files with 1 additions and 1 deletions

View 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)