Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3854406pxv; Mon, 19 Jul 2021 10:19:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8BxKGnXUyOPkPzqgdAdizqsfdZk8PMFjvV+912Iv6pv7f+dtdEs9i2oN8wz1NalzP3cJE X-Received: by 2002:aa7:c458:: with SMTP id n24mr36563889edr.30.1626715141790; Mon, 19 Jul 2021 10:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626715141; cv=none; d=google.com; s=arc-20160816; b=0tDmOU+24DFcrR33qT6KEBxw91KL8rTxPkI/1JR0dGEGPI4S6Sq61mFccdhv+GrWVT gj2R3zXJRPtwzkDyMECwJ/jlFx8h7dDb5zHydbKVolrmMGPm1q8BufJuA5Ec0MaU9ub7 m752/4MfFL5LucLpKWJfYTz8UvEkxLrSPG/PJRGb8rLyFMjFvMdQTkynJ0Cua5g1FE13 9NZAOze+OCry45+ibbuYuOOETwQhC42ls+YTXDBhBj3Vl78H/mDmzcMAPvB0FXlvKl2H bA7W90J/6Kv3wB2oyyDTRZXDL/ni42XTq1Eu3lGen7NfQdzHit6xFZSBbOKO7myMM3cv gjNg== 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=DWfoPjoIOTkeJox16YmCS6hQgLskXQltDVCzAt7rMic=; b=nbkHmqjW1fT4YRw9o1GpaDQVXp4sEGAi9a/oK2QmdqIWqu2vA2jooCdSBj4pNBH3iK 9HRI04hSN/zpFmrW8l74PbZk1vgRdpafbs7nADJV9DM56vDud5ws0BGGHXxo0kAh3QpY V6GwWAeNe76oBu0JG6Ss92nMe9lz6nPTp3S6MkLNqgC6wgAwOXQJ4xCXyNc+VR5zJhIN uu1Mzq3CEUi3bXCAE/ciVfrTKzmFRFYWccfyUw9gSwO+MSsS6/a99KDx+GVDH4hIydRH 6gXmnW8v7ne48FaRNi1pTTmb+AmLD928hV5In0Nxz5O+7JhyD/K4hVht2I1aS/5mXq1s q+fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RAY5xeCv; 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 la17si20108679ejc.402.2021.07.19.10.18.39; Mon, 19 Jul 2021 10:19:01 -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=RAY5xeCv; 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 S1355220AbhGSQgH (ORCPT + 99 others); Mon, 19 Jul 2021 12:36:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:40472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348044AbhGSPYa (ORCPT ); Mon, 19 Jul 2021 11:24:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3B6F6613E9; Mon, 19 Jul 2021 16:00:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710451; bh=JajKYfSvdkS3qxYS3dbgKkhm3iuVL+DuP32Ghp1V2Ws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RAY5xeCvG53e59WfNd+QSDl499mNVREbYB1ANjhYiV19syoT3xfEM3DbxxamlruDG zyttb8MInxHiXlFx6zWACAphZ051hhicKx7Q6dvnDcZaoNwjSV9mtERSFAKKAJF9Bw ZtL2IyKMkkxl+ST6vog+8qPCaJL6us4AjQv8H+kw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Philipp Zabel , Sasha Levin Subject: [PATCH 5.10 188/243] reset: RESET_INTEL_GW should depend on X86 Date: Mon, 19 Jul 2021 16:53:37 +0200 Message-Id: <20210719144946.988860259@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 6ab9d6219f86f0db916105444813aafce626a2f4 ] 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: c9aef213e38cde27 ("reset: intel: Add system reset controller driver") Signed-off-by: Geert Uytterhoeven Signed-off-by: Philipp Zabel Signed-off-by: Sasha Levin --- drivers/reset/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index b1d7369218e8..147543ad303f 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -76,6 +76,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 -- 2.30.2