Skip to content

Commit

Permalink
reset: RESET_INTEL_GW should depend on X86
Browse files Browse the repository at this point in the history
[ Upstream commit 6ab9d62 ]

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: c9aef21 ("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>
  • Loading branch information
geertu authored and gregkh committed Jul 20, 2021
1 parent 1347d04 commit 6cf18d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/reset/Kconfig
Expand Up @@ -83,6 +83,7 @@ config RESET_IMX7

config RESET_INTEL_GW
bool "Intel Reset Controller Driver"
depends on X86 || COMPILE_TEST
depends on OF && HAS_IOMEM
select REGMAP_MMIO
help
Expand Down

0 comments on commit 6cf18d4

Please sign in to comment.