[openwrt/openwrt] kernel/i2c: x86: remove kernel 6.12 conditions checking

LEDE Commits lede-commits at lists.infradead.org
Tue May 20 02:52:13 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4c9f277c9af3a36301bcee40d6c5749a471d0de7

commit 4c9f277c9af3a36301bcee40d6c5749a471d0de7
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Mon May 19 23:03:43 2025 +0200

    kernel/i2c: x86: remove kernel 6.12 conditions checking
    
    After removing kernel 6.6 support for x86 targets,
    kernel 6.12 conditions no longer need to be checked.
    
    Signed-off-by: Mieczyslaw Nalewaj <namiltd at yahoo.com>
    Link: https://github.com/openwrt/openwrt/pull/18848
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/kernel/linux/modules/i2c.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/linux/modules/i2c.mk b/package/kernel/linux/modules/i2c.mk
index a8b05fb614..45001f328e 100644
--- a/package/kernel/linux/modules/i2c.mk
+++ b/package/kernel/linux/modules/i2c.mk
@@ -152,7 +152,7 @@ define KernelPackage/i2c-i801
   TITLE:=Intel I801 and compatible I2C interfaces
   DEPENDS:= \
     @PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +kmod-i2c-smbus \
-    (!LINUX_6_6&&PACKAGE_kmod-i2c-mux-gpio):kmod-i2c-mux-gpio
+    PACKAGE_kmod-i2c-mux-gpio:kmod-i2c-mux-gpio
 endef
 
 define KernelPackage/i2c-i801/description
@@ -291,7 +291,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 +!LINUX_6_6:kmod-i2c-smbus
+  DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +kmod-i2c-smbus
 endef
 
 define KernelPackage/i2c-piix4/description




More information about the lede-commits mailing list