]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 8 Feb 2021 14:38:55 +0000 (15:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Sep 2021 08:00:36 +0000 (10:00 +0200)
commit65b799eb3b5acad34b2cffaa50959678a41b1b17
treeea3c79b0940c9fb6d09b8060514082b7864843f4
parent5f92b67f9e666e317ca8fbe636bee365156d10ed
soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally

[ Upstream commit 2a1c55d4762dd34a8b0f2e36fb01b7b16b60735b ]

Merely enabling CONFIG_COMPILE_TEST should not enable additional code.
To fix this, restrict the automatic enabling of ROCKCHIP_GRF to
ARCH_ROCKCHIP, and ask the user in case of compile-testing.

Fixes: 4c58063d4258f6be ("soc: rockchip: add driver handling grf setup")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20210208143855.418374-1-geert+renesas@glider.be
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/rockchip/Kconfig