Commit 1a8c67a8 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Bartosz Golaszewski

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: ed70aaac ("Kconfig: reduce the amount of power sequencing noise")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent ed70aaac
......@@ -267,7 +267,7 @@ config ARCH_QCOM
bool "Qualcomm Platforms"
select GPIOLIB
select PINCTRL
select HAVE_PWRCTL
select HAVE_PWRCTL if PCI
help
This enables support for the ARMv8 based Qualcomm chipsets.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment