power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 4 Oct 2024 13:04:49 +0000 (15:04 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 23 Oct 2024 07:54:06 +0000 (09:54 +0200)
commitf82bf3c5796e1630d553669fb451e6c9d4070512
tree1095a69b5ec3a666f631db366ba99ece628facf9
parent9852d85ec9d492ebef56dc5f229416c925758edc
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>
drivers/power/sequencing/Kconfig