From fb7c14ce7b4d3e0a86d464ed6a3d6b750e1535e4 Mon Sep 17 00:00:00 2001 From: Jonas Jelonek Date: Tue, 19 May 2026 12:32:52 +0000 Subject: [PATCH] kernel: pse-pd: auto-select kmod-pse-pd from AddDepends helper The AddDepends/pse-pd helper appended kmod-pse-pd to DEPENDS without the '+' prefix, making it a hard dependency rather than an auto-selecting one. This breaks pulling any PSE controller driver (kmod-pse-pd692x0, kmod-pse-si3474, kmod-pse-tps23881, kmod-pse-regulator, ...) in via a device's DEVICE_PACKAGES: the kmod itself is auto-selected, but the unsatisfied hard dep on kmod-pse-pd silently drops it from .config. Prefix the kmod-pse-pd entry with '+' so it auto-selects, matching how the other deps in the same file (kmod-i2c-core, etc.) are expressed. The helper is the right place to fix this; every PSE controller driver routes through it. Signed-off-by: Jonas Jelonek Link: https://github.com/openwrt/openwrt/pull/23449 Signed-off-by: Robert Marko --- package/kernel/linux/modules/pse-pd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/pse-pd.mk b/package/kernel/linux/modules/pse-pd.mk index 44adb18297..fb26e5fca3 100644 --- a/package/kernel/linux/modules/pse-pd.mk +++ b/package/kernel/linux/modules/pse-pd.mk @@ -22,7 +22,7 @@ $(eval $(call KernelPackage,pse-pd)) define AddDepends/pse-pd SUBMENU:=$(PSE_MENU) - DEPENDS+=kmod-pse-pd $(1) + DEPENDS+=+kmod-pse-pd $(1) endef define KernelPackage/pse-regulator