[openwrt/openwrt] kernel: kmod-video-cpia2: Depend on kernel 5.15

LEDE Commits lede-commits at lists.infradead.org
Thu Mar 14 13:04:03 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/9c6cf8e77c4adfa4808e937e76b8de38058d4e5a

commit 9c6cf8e77c4adfa4808e937e76b8de38058d4e5a
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Wed Mar 13 21:08:55 2024 +0100

    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 at hauke-m.de>
---
 package/kernel/linux/modules/video.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)




More information about the lede-commits mailing list