Re: [PATCH] reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB

From: Florian Fainelli
Date: Tue Mar 16 2021 - 12:40:23 EST




On 3/16/2021 6:37 AM, Geert Uytterhoeven wrote:
> 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@xxxxxxxxx>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian