kernel: fix dependencies for kmod-gpio-pwm
authorTianling Shen <[email protected]>
Fri, 26 Sep 2025 15:02:48 +0000 (23:02 +0800)
committerRobert Marko <[email protected]>
Fri, 26 Sep 2025 17:11:32 +0000 (19:11 +0200)
gpio pwm driver is only available on kernel 6.11+.

Signed-off-by: Tianling Shen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20187
Signed-off-by: Robert Marko <[email protected]>
package/kernel/linux/modules/gpio.mk

index 11a92192f61174468cc95f00767f5eb2e6c2664f..acc922472b6e2106d7cd88ee4374680b5bc83f0b 100644 (file)
@@ -141,7 +141,7 @@ $(eval $(call KernelPackage,gpio-pcf857x))
 
 define KernelPackage/gpio-pwm
   SUBMENU:=$(GPIO_MENU)
-  DEPENDS:=@GPIO_SUPPORT @PWM_SUPPORT
+  DEPENDS:=@GPIO_SUPPORT @PWM_SUPPORT @!LINUX_6_6
   TITLE:=PWM GPIO support
   KCONFIG:=CONFIG_PWM_GPIO
   FILES:=$(LINUX_DIR)/drivers/pwm/pwm-gpio.ko