]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel/i2c: x86: remove kernel 6.12 conditions checking 18848/head
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Mon, 19 May 2025 21:03:43 +0000 (23:03 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 20 May 2025 09:52:08 +0000 (11:52 +0200)
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@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18848
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/linux/modules/i2c.mk

index a8b05fb6149c735565dfa8b83b6ee9f6a46b7641..45001f328e5d9a1229ee0532cffcaa406e7f3734 100644 (file)
@@ -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