From: Hauke Mehrtens Date: Fri, 2 Aug 2013 20:08:20 +0000 (+0000) Subject: kernel: add missing module to video-core for kernel < 3.6 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f43b6b2beabd36be11b34474f9bc1b8922d896c0;p=openwrt%2Fstaging%2Fynezz.git kernel: add missing module to video-core for kernel < 3.6 Signed-off-by: Hauke Mehrtens SVN-Revision: 37659 --- diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index cd9525857e..3aac7bdae5 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -99,10 +99,18 @@ define KernelPackage/video-core CONFIG_V4L_PCI_DRIVERS=y \ CONFIG_V4L_PLATFORM_DRIVERS=y \ CONFIG_V4L_ISA_PARPORT_DRIVERS=y +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1) FILES:= \ $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \ $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko AUTOLOAD:=$(call AutoLoad,60, videodev v4l2-common) +else + FILES:= \ + $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-compat-ioctl32.ko \ + $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \ + $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko + AUTOLOAD:=$(call AutoLoad,60, v4l2-compat-ioctl32 videodev v4l2-common) +endif endef define KernelPackage/video-core/description