]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 12:53:01 +0000 (13:53 +0100)
commitda47bbbc585a7351de1f0b16ed5becd754ca9545
treede4b44b5ab636cc9e05c1e420c1114973690d901
parentf3a7499498d6e4f214ba4b1c1cc69768883cfe31
power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF

[ Upstream commit f82bf3c5796e1630d553669fb451e6c9d4070512 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/power/sequencing/Kconfig