aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-10-04 15:04:49 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-10-23 09:54:06 +0200
commitf82bf3c5796e1630d553669fb451e6c9d4070512 (patch)
tree1095a69b5ec3a666f631db366ba99ece628facf9
parentLinux 6.12-rc1 (diff)
downloadwireguard-linux-f82bf3c5796e1630d553669fb451e6c9d4070512.tar.xz
wireguard-linux-f82bf3c5796e1630d553669fb451e6c9d4070512.zip
power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF
This driver uses various OF-specific functions and depends on phandle parsing. There's no reason to make it available to non-OF systems so add a relevant dependency switch to its Kconfig entry. Fixes: 2f1630f437df ("power: pwrseq: add a driver for the PMU module on the QCom WCN chipsets") Link: https://lore.kernel.org/r/20241004130449.51725-1-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to '')
-rw-r--r--drivers/power/sequencing/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/sequencing/Kconfig b/drivers/power/sequencing/Kconfig
index c9f1cdb66524..ddcc42a98492 100644
--- a/drivers/power/sequencing/Kconfig
+++ b/drivers/power/sequencing/Kconfig
@@ -16,6 +16,7 @@ if POWER_SEQUENCING
config POWER_SEQUENCING_QCOM_WCN
tristate "Qualcomm WCN family PMU driver"
default m if ARCH_QCOM
+ depends on OF
help
Say Y here to enable the power sequencing driver for Qualcomm
WCN Bluetooth/WLAN chipsets.