kernel: fix dependencies for kmod-gpio-pwm

gpio pwm driver is only available on kernel 6.11+.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20187
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Tianling Shen 2025-09-26 23:02:48 +08:00 committed by Robert Marko
parent b4a528ecba
commit 86618df095

View 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