Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3866015pxv; Mon, 19 Jul 2021 10:37:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvGXAwIMcDV3ZQhWjGXWMZSlVwWvivvXz9ptHjtJqShmQdsLS1kgYJ9wb2/y5artTTEde9 X-Received: by 2002:a17:907:770f:: with SMTP id kw15mr28142681ejc.23.1626716229261; Mon, 19 Jul 2021 10:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626716229; cv=none; d=google.com; s=arc-20160816; b=FWkVaYBdiYc13D1oAujtGufP12t+DSgkqJEVlDPGzBG18amAU8k1Y1ToV4FGEraaCy qlKbrcfvygIQKW+zriAFO9/IhGuv4niukTa6W5XG3B710RQUAdn6v8YvapJgOxTmAPox vdImssiUEqkgjtQ/4G7xCyRioQVZAAmSu4ga+iy19eGaExv3yPE2+OCJxYbJ/LOcGKWD X/gG9KbcvkFTwSSXQ/S1pdrU0gKHzLecVJIUyKy+rudF5JXLFr/GkgSYMpBivWzPo8mR kqqPv/yWOgUUdl0iA4uej/9M2wzKuaDw6POYhEM18FqSYOXsKRdI/OYxK4zp4gB2nsiY Ah9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wS/igFH4q2uzB0qNQ21TEsXRSKcd4Vl14vMXagPEa1Q=; b=Xs21brg5FScojbzVF+5GFFsO5uCBoRhsqO7A1HscVE6AnptNrlCWujtNEimrHPVwti bsOOkzWYWjaKdH4LI5vfjJOfHNGPw/kpFfjV56p/N4MJknYiWtgpYGQI1yeMfRpllZs2 GLmrVNc0tEyw1ydKxHHtzxnyiweT88QCWqy1gtToxIn7vTJg9CCoy/0lVMg7QFNl8Kbo ThL0Fr5TG1IsgAzOE9kKe2KIuDNWsHUjrYEUydHMAv1BqmvTsoOEwyEGossD2BQCACru NxC/RWGrE+S6J/nLn9Bo5Ms/hAaLJvOiQUHZTElFG3ZdCpqtKiKwBYmTx/++KcZbKvNL gfEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dnb96BVV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j24si13682956eja.261.2021.07.19.10.36.46; Mon, 19 Jul 2021 10:37:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dnb96BVV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357303AbhGSQv3 (ORCPT + 99 others); Mon, 19 Jul 2021 12:51:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:41026 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348025AbhGSPYT (ORCPT ); Mon, 19 Jul 2021 11:24:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E7194613E3; Mon, 19 Jul 2021 16:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710449; bh=AMxmgdId/9AKJ7yXKxtlwCtKNpkb7gJja9f7Czjvff0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dnb96BVV+1LtDB3buDz/VFBMMOYVDMChOszjx91dftfW762heU1xt34zH4NQY5pSn Ov2fGVFvqr1RkvoAXBiSpOF84dD6VtTi/DxSrmmkKo7v4dxCGR2jM+Hp70pPxbKPYe oAxm0nEu8JL9NtSe5kPwR4vNtwcUbrrf+BniDI20= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Florian Fainelli , Philipp Zabel , Sasha Levin Subject: [PATCH 5.10 187/243] reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB Date: Mon, 19 Jul 2021 16:53:36 +0200 Message-Id: <20210719144946.958150385@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Geert Uytterhoeven [ 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 Acked-by: Florian Fainelli Signed-off-by: Philipp Zabel Signed-off-by: Sasha Levin --- drivers/reset/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 07d162b179fc..b1d7369218e8 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -52,7 +52,8 @@ config RESET_BRCMSTB config RESET_BRCMSTB_RESCAL bool "Broadcom STB RESCAL reset controller" depends on HAS_IOMEM - default ARCH_BRCMSTB || COMPILE_TEST + depends on ARCH_BRCMSTB || COMPILE_TEST + default ARCH_BRCMSTB help This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on BCM7216. -- 2.30.2