Skip to content

Commit 1a8c67a

Browse files
arndbBartosz Golaszewski
authored andcommitted
arm64: qcom: don't select HAVE_PWRCTL when PCI=n
The new HAVE_PWRCTL option is defined in the PCI subsystem, so selecting it unconditionally when PCI is disabled causes a harmless warning: WARNING: unmet direct dependencies detected for HAVE_PWRCTL Depends on [n]: PCI [=n] Selected by [y]: - ARCH_QCOM [=y] Add 'if PCI' in the qualcomm platform to hide the warning. Fixes: ed70aaa ("Kconfig: reduce the amount of power sequencing noise") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent ed70aaa commit 1a8c67a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/Kconfig.platforms

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ config ARCH_QCOM
267267
bool "Qualcomm Platforms"
268268
select GPIOLIB
269269
select PINCTRL
270-
select HAVE_PWRCTL
270+
select HAVE_PWRCTL if PCI
271271
help
272272
This enables support for the ARMv8 based Qualcomm chipsets.
273273

0 commit comments

Comments
 (0)