Failure to enable the driver leads to annoying warnings in the best
case:

  WARNING: rockchip-dw-pcie [email protected]: power domain not found 
(ignoring)

and to hangs in the worst case. The defconfigs already enable the
device, but it should really be default y whenever CONFIG_ARCH_ROCKCHIP=y.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 drivers/pmdomain/rockchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pmdomain/rockchip/Kconfig 
b/drivers/pmdomain/rockchip/Kconfig
index 0ee292b45b31..05c6c73bbcc5 100644
--- a/drivers/pmdomain/rockchip/Kconfig
+++ b/drivers/pmdomain/rockchip/Kconfig
@@ -5,6 +5,7 @@ config ROCKCHIP_PM_DOMAINS
        bool "Rockchip generic power domain"
        depends on REGULATOR
        select PM_GENERIC_DOMAINS
+       default ARCH_ROCKCHIP
        help
          Say y here to enable power domain support.
          The PMU is dedicated for managing the power of the whole chip and may
-- 
2.47.3


Reply via email to