kernel: modules: video: fix video-coda for 6.1
authorTim Harvey <tharvey@gateworks.com>
Thu, 18 Jan 2024 22:50:00 +0000 (14:50 -0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 2 Feb 2024 16:31:44 +0000 (17:31 +0100)
The coda kernel modules were moved between 5.15 and 6.1.
Adapt the coda-vpu and imx-vdoa modules for that.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
package/kernel/linux/modules/video.mk

index 17033838ebdb3248571a4ba18b2f65f7a42fe977..1654a3c27610e041e10b46cf3fa74dafc25d2c88 100644 (file)
@@ -1149,8 +1149,10 @@ define KernelPackage/video-coda
        CONFIG_VIDEO_CODA \
        CONFIG_VIDEO_IMX_VDOA
   FILES:= \
-       $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/coda/coda-vpu.ko \
-       $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/coda/imx-vdoa.ko \
+       $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/coda/coda-vpu.ko@lt6.1 \
+       $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/chips-media/coda-vpu.ko@ge6.1 \
+       $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/coda/imx-vdoa.ko@lt6.1 \
+       $(LINUX_DIR)/drivers/media/$(V4L2_MEM2MEM_DIR)/chips-media/imx-vdoa.ko@ge6.1 \
        $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-jpeg.ko
   AUTOLOAD:=$(call AutoProbe,coda-vpu imx-vdoa v4l2-jpeg)
   $(call AddDepends/video)