]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: update dependency of kmod-i2c-piix4
authorJohn Audia <therealgraysky@proton.me>
Wed, 20 Nov 2024 19:32:09 +0000 (14:32 -0500)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 30 Apr 2025 14:26:35 +0000 (16:26 +0200)
Add missing depends kmod-i2c-smbus.

Package kmod-i2c-piix4 is missing dependencies for the following libraries:
i2c-smbus.ko

Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=de4f2f52f93257433c9029ba2b4044cd9f029b21

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/kernel/linux/modules/i2c.mk

index 3aaf560ea908dbbfa57c78d3bb1240ef6fcf5828..8f3564d1065f69e1fe210922418f80bc4d92debc 100644 (file)
@@ -289,7 +289,7 @@ I2C_PIIX4_MODULES:= \
 define KernelPackage/i2c-piix4
   $(call i2c_defaults,$(I2C_PIIX4_MODULES),59)
   TITLE:=Intel PIIX4 and compatible I2C interfaces
-  DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core
+  DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +!LINUX_6_6:kmod-i2c-smbus
 endef
 
 define KernelPackage/i2c-piix4/description