[openwrt/openwrt] kernel: add missing dependency on kmod-drm to kmod-i2c-hid

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 18 18:54:56 PDT 2025


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/719c9059b2a81370e5855390d34c889d1bd635dd

commit 719c9059b2a81370e5855390d34c889d1bd635dd
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Jul 19 02:53:22 2025 +0100

    kernel: add missing dependency on kmod-drm to kmod-i2c-hid
    
    Buildbot revealed that on the x86/geode target, on which CONFIG_DRM=y isn't set,
    kmod-i2c-hid misses the dependency on kmod-drm. Fix that to fix the build for
    x86/geode.
    
    Fixes: c83e275c9b ("kernel: package modules for I2C HID devices")
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/kernel/linux/modules/i2c.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/i2c.mk b/package/kernel/linux/modules/i2c.mk
index 7c985aa915..a95c4db6a6 100644
--- a/package/kernel/linux/modules/i2c.mk
+++ b/package/kernel/linux/modules/i2c.mk
@@ -169,7 +169,7 @@ define KernelPackage/i2c-hid
   $(call i2c_defaults,$(I2C_HID_MODULES),60)
   TITLE:=I2C HID support
   KCONFIG+= CONFIG_I2C_HID
-  DEPENDS:=+kmod-hid
+  DEPENDS:=+kmod-drm +kmod-hid
   HIDDEN:=1
 endef
 




More information about the lede-commits mailing list