Skip to contentSkip to conversation

power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF

PATCH Applied Bartosz Golaszewski 1 participant 2 messages Oct 4, 2024 – Oct 8, 2024 Power sequencing

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF

From: Bartosz Golaszewski <[email protected]>

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")
---
 drivers/power/sequencing/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/power/sequencing/Kconfig +1 -0
index c9f1cdb66524..ddcc42a98492 100644
@@ -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.
Signature · 1 line
2.43.0
author Applied
#1 lore raw

From: Bartosz Golaszewski <[email protected]>

Quoted 5 lines · Bartosz Golaszewski

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.

Applied, thanks!

[1/1] power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF

      commit: a85bbe01a320eb3f1398da3430384596b1c51663

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>