[LEDE-DEV,2/2] kernel: video: add kmod-i2c-core dependency to kmod-drm

Message ID 20170319192634.21961-2-zajec5@gmail.com
State Accepted
Headers show

Commit Message

Rafał Miłecki March 19, 2017, 7:26 p.m.
From: Rafał Miłecki <rafal@milecki.pl>

For targets with i2c not built-in this fixes following error:
Package kmod-drm is missing dependencies for the following libraries:
i2c-core.ko

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 package/kernel/linux/modules/video.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 3ccfaf622a..48ef45e3e2 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -186,7 +186,7 @@  define KernelPackage/drm
   SUBMENU:=$(VIDEO_MENU)
   TITLE:=Direct Rendering Manager (DRM) support
   HIDDEN:=1
-  DEPENDS:=+kmod-dma-buf
+  DEPENDS:=+kmod-dma-buf +kmod-i2c-core
   KCONFIG:=CONFIG_DRM \
 	CONFIG_DRM_FBDEV_EMULATION=n \
 	CONFIG_DRM_LOAD_EDID_FIRMWARE=n \