Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp625300pxu; Wed, 14 Oct 2020 09:33:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCQRcyunkzVJIXyERzCNa+Soa4ePW0PsPrq7NbGHoAWvi/nno9CAzRuPXfLCNgELhAsR2k X-Received: by 2002:a50:8c24:: with SMTP id p33mr6265203edp.330.1602693182772; Wed, 14 Oct 2020 09:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602693182; cv=none; d=google.com; s=arc-20160816; b=pB8FoHcXzQz853UNyrUt048WnYcn3EaTyP2PnRQijI4koOcNYLRCrR4Xx3y1wkIlSs X0Bo17TEdZrK9q2rmLTwVKSArje/i2cj12lCoiGgVRLPbn+LH5xO7ahGHQvxRkJekDcA gKUVwIwZNSbIYtDd8XSRvSyxKQfKrq2eomY4jYntNnz2JNnYC9j6pWkUKFQjkCTIywYH uofMxVekE+F7xMwhvcEOoj7PudoSPhw7Ka/EoNUmH3CLHnlwO1XiY+MdtmEb34D+Qf9k 9xudLmrkQT2skAyQcjrhT4hPCl1SumGW64TJrXBVnl1fZTZvlTuguJGwsckGFpo5bBNy zebA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=aECB94d3Y+++6aoB5ugt2MlKI7jxwQwhSxBLotuCAg8=; b=J5kgcPTuogDgFl5CcghC4od9gTh4w0M/2SZ7nluAIkHAuzLSEbdSxOBX9tnM3NKlEE JIBvUpCMUE0NWJKX2XI5YvAdV+EEJXRKgt0MDvNJ/hAacRGigJ5FlqjBK0QSY0F5hRhW BkBQ2cdWGmMrv1ZgOHxJd0rqY9OOnqfqJ2sp0adNhTygGtUvjmBH3pfblfJMIfG7IpuN WERcTk43810yAaXZHgNz/StU/gNygd0/A7kTMRviGbyWPWZWrmnJ6ahLPS7+6fy010DY vfPkVlAcHctELy20LQzqtwm87jwujhqiOJDA6vAFBA0xt79zy50MD9PXkSLw4IUDg9v1 k6OA== 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 e21si7508ejr.501.2020.10.14.09.32.36; Wed, 14 Oct 2020 09:33:02 -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; 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 S1728242AbgJNNMV (ORCPT + 99 others); Wed, 14 Oct 2020 09:12:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbgJNNMU (ORCPT ); Wed, 14 Oct 2020 09:12:20 -0400 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 2C061C061755 for ; Wed, 14 Oct 2020 06:12:20 -0700 (PDT) Received: from ramsan ([84.195.186.194]) by michel.telenet-ops.be with bizsmtp id fpCH2300o4C55Sk06pCHTt; Wed, 14 Oct 2020 15:12:18 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1kSgZl-0007tY-No; Wed, 14 Oct 2020 15:12:17 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1kSgZl-0005mP-M7; Wed, 14 Oct 2020 15:12:17 +0200 From: Geert Uytterhoeven To: Lee Jones , Michael Walle Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] mfd: MFD_SL28CPLD should depends on ARCH_LAYERSCAPE Date: Wed, 14 Oct 2020 15:12:16 +0200 Message-Id: <20201014131216.21891-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 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 --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 8b99a13669bfc594..4789507f325b82ee 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1189,6 +1189,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.17.1