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@makrotopia.org>
This commit is contained in:
Daniel Golle 2025-07-19 02:53:22 +01:00
parent ce81918d4b
commit 719c9059b2

View file

@ -169,7 +169,7 @@ define KernelPackage/i2c-hid
$(call i2c_defaults,$(I2C_HID_MODULES),60) $(call i2c_defaults,$(I2C_HID_MODULES),60)
TITLE:=I2C HID support TITLE:=I2C HID support
KCONFIG+= CONFIG_I2C_HID KCONFIG+= CONFIG_I2C_HID
DEPENDS:=+kmod-hid DEPENDS:=+kmod-drm +kmod-hid
HIDDEN:=1 HIDDEN:=1
endef endef