diff options
author | Necip Fazil Yildiran <fazilyildiran@gmail.com> | 2020-09-14 14:46:52 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2020-10-05 21:02:29 -0700 |
commit | 63bcf87cb1c57956e1179f1a78dde625c7e3cba7 (patch) | |
tree | 72aba81b25810ec71b5f478d61bd3915c8cbcb53 /scripts/find-unused-docs.sh | |
parent | dd7c7ab01a04d645b7e7baa8530bfd81e31a2202 (diff) | |
download | linux-63bcf87cb1c57956e1179f1a78dde625c7e3cba7.tar.gz linux-63bcf87cb1c57956e1179f1a78dde625c7e3cba7.tar.bz2 linux-63bcf87cb1c57956e1179f1a78dde625c7e3cba7.zip |
arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER
When ARC_SOC_HSDK is enabled and RESET_CONTROLLER is disabled, it results
in the following Kbuild warning:
WARNING: unmet direct dependencies detected for RESET_HSDK
Depends on [n]: RESET_CONTROLLER [=n] && HAS_IOMEM [=y] && (ARC_SOC_HSDK [=y] || COMPILE_TEST [=n])
Selected by [y]:
- ARC_SOC_HSDK [=y] && ISA_ARCV2 [=y]
The reason is that ARC_SOC_HSDK selects RESET_HSDK without depending on or
selecting RESET_CONTROLLER while RESET_HSDK is subordinate to
RESET_CONTROLLER.
Honor the kconfig menu hierarchy to remove kconfig dependency warnings.
Fixes: a528629dfd3b ("ARC: [plat-hsdk] select CONFIG_RESET_HSDK from Kconfig")
Signed-off-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'scripts/find-unused-docs.sh')
0 files changed, 0 insertions, 0 deletions