Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4100256pxb; Tue, 10 Nov 2020 07:59:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGpV5LhRGxIdUQ1NSubWW5Sa6j9p037EYA9PVYt9yaWFHnT47H6Zln/fn8KmsSMnkcamlq X-Received: by 2002:a05:6402:79a:: with SMTP id d26mr15887692edy.113.1605023958688; Tue, 10 Nov 2020 07:59:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605023958; cv=none; d=google.com; s=arc-20160816; b=wrbNUlrJw6l/ov1/tpMi/gBulWpMFT8z7nmzrRYlQSRi/Lg2ybyJ1lRzl/0YR+R0mQ ASPAKBy5T350nxULo3ZLAupzqT2LGemdAJe82ByRwfooQaibB4UZl0h3DtV6gw+dHyta IowqJqj12nmVM7pzV+RRl5SS5FeO/b4adjFP7c5Z+JwwbC7qUeETI2mfQb9CKGCgOr/v Ho0yQuI8F8Kvc7txWGz2kZq6NHa8HCq+HSTktU/HGiGFnOjUnXhw7wR1L8JH2pemk6jO TPXRBDB/ztq1EPeLY/V1wnhmlU6z3x8dY9P5v4XTswsV/kDhnbk6Q0bTUVGasDgPy00q rDHw== 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 :message-id:date:subject:cc:to:from; bh=wQNq5GTaly0++nkvTphjHmz/c2EkhQ2g5O9B5sYQyJU=; b=QJi4XIYb+NEdrYe+Mlaw9X8X+oYtwVBjuNo/fy7oW1kCMs+ZU1NsFXR3VNUjU0bWuP pwMHV+IS0iFVq7S6+9QsRkVc223nTEBRjp77bNcHjNFTcqjEg/TFqmLqdPpR1kkryYgk Jb5Q6l5Pfl90tjREI39bR7QMhD2ylf0Pe2U/3JdqJQ8ui6JxQvAVCyLyCf0so80nnIMr xzewk2Qe/RQkQAhnu/eBGf7wsrzxeO88ys7iieXqRPpuEbkH7aWnP45fL1iUYvXtuJh0 Bie9+rNqej7dgscR1e82MuWhgiS/XRoeOLtOec4+SP3nlpbpNeeQGubdT1tcdmR8jKPH 6tCg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si6686620edr.174.2020.11.10.07.58.55; Tue, 10 Nov 2020 07:59:18 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730786AbgKJP5e (ORCPT + 99 others); Tue, 10 Nov 2020 10:57:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730285AbgKJP5e (ORCPT ); Tue, 10 Nov 2020 10:57:34 -0500 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E467FC0613CF for ; Tue, 10 Nov 2020 07:57:33 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by michel.telenet-ops.be with bizsmtp id qfxY230094C55Sk06fxYvS; Tue, 10 Nov 2020 16:57:32 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kcW1U-001DZ5-5l; Tue, 10 Nov 2020 16:57:32 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1kcW1T-00Dn8E-Km; Tue, 10 Nov 2020 16:57:31 +0100 From: Geert Uytterhoeven To: Lee Jones Cc: Michael Walle , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2] mfd: MFD_SL28CPLD should depends on ARCH_LAYERSCAPE Date: Tue, 10 Nov 2020 16:57:27 +0100 Message-Id: <20201110155727.3287083-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently the Kontron sl28cpld Board Management Controller is found only on Kontron boards equipped with a Freescale Layerscape SoC. Hence add a dependency on ARCH_LAYERSCAPE, to prevent asking the user about a driver for this controller when configuring a kernel without Layerscape support. Fixes: a538ad229bbee4f8 ("mfd: simple-mfd-i2c: Add sl28cpld support") Signed-off-by: Geert Uytterhoeven Acked-by: Michael Walle --- v2: - Add Acked-by. --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index cc0b73280c68c7ba..10864cc38c17b4ed 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1199,6 +1199,7 @@ config MFD_SIMPLE_MFD_I2C config MFD_SL28CPLD tristate "Kontron sl28cpld Board Management Controller" depends on I2C + depends on ARCH_LAYERSCAPE || COMPILE_TEST select MFD_SIMPLE_MFD_I2C help Say yes here to enable support for the Kontron sl28cpld board -- 2.25.1