]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 16 Mar 2021 13:37:33 +0000 (14:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:05:54 +0000 (16:05 +0200)
commit2ca912471db43c39b0e3450c05deccb6bf46b565
tree962f9c1a5ede3999061ded156c46f448b14771fe
parentf75cec5c204814713d2d9564160b2c2b68cbabf0
reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB

[ Upstream commit 42f6a76fbe85e5243f83a3ed76809b1ebbb7087e ]

The Broadcom STB RESCAL reset controller is only present on Broadcom
BCM7216 platforms.  Hence add a dependency on ARCH_BRCMSTB, to prevent
asking the user about this driver when configuring a kernel without
BCM7216 support.

Also, merely enabling CONFIG_COMPILE_TEST should not enable additional
code, and thus should not enable this driver by default.

Fixes: 4cf176e52397853e ("reset: Add Broadcom STB RESCAL reset controller")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/reset/Kconfig