reset: RESET_INTEL_GW should depend on X86
[ Upstream commit6ab9d6219f] The Intel Gateway reset controller is only present on Intel Gateway platforms. Hence add a dependency on X86, to prevent asking the user about this driver when configuring a kernel without Intel Gateway support. Fixes:c9aef213e3("reset: intel: Add system reset controller driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2ca912471d
commit
685ec4c0f2
@@ -76,6 +76,7 @@ config RESET_IMX7
|
|||||||
|
|
||||||
config RESET_INTEL_GW
|
config RESET_INTEL_GW
|
||||||
bool "Intel Reset Controller Driver"
|
bool "Intel Reset Controller Driver"
|
||||||
|
depends on X86 || COMPILE_TEST
|
||||||
depends on OF && HAS_IOMEM
|
depends on OF && HAS_IOMEM
|
||||||
select REGMAP_MMIO
|
select REGMAP_MMIO
|
||||||
help
|
help
|
||||||
|
|||||||
Reference in New Issue
Block a user