Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4057397pxb; Mon, 8 Feb 2021 07:01:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwn3ELJucuiUIDR54HK3wJIzXsqKdQYe5LJ6AvIvPP06lcaq99kfOrC1RZp9JcEE24S9c70 X-Received: by 2002:a05:6402:3514:: with SMTP id b20mr17202871edd.100.1612796459812; Mon, 08 Feb 2021 07:00:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612796459; cv=none; d=google.com; s=arc-20160816; b=LaJRHXXelEYfupdDzePRxg9N+gzW74jFr/KwOG93lN0IDPdoxRqWZHkoK63lwE0mbU d325HfUBBwI/ObVgP0E4QpVJcWYkLZsi5DEZbNsCmbcMHJhsT4oQXJOabXjaHhGRxpTM AAi68Ag+AgEZxbaUkmLwBxpKFWbRtiPRRpNbUaqsUbAQKYFw/2mBA+sE8nqDpwCiSJyE QNPxY6Qm9AVrNqi0vr1vWvPPZrKjP5mxoNeu2o6Ku/Oxt2LUAowI7mYyMsciNmtJvg/d C+uWTbySDxVWe/fhju7LVm8yHui5LISUTXWUICb+mJvmtk14FIQf7VyWVrM6mu5aXeII BzmA== 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=couvARBCmf9wKgaBXZ2G2W0nLcUitm6dqyHQ4yNGxuI=; b=Ij9av87iuIGyJ6V5avjhmxx+hpEmCDMYsJYtrnslaJoQmbgOK1XMdCjdvEkoUFajtF pS8b+Y4CMVamfVav7X1kQgmwMBzWLCXl/Eojijjca9aY+huo/FaP7IOOdzkn+Kn9+Whk F5N+5C9dNTL5s8ejqa2wSBF8hSVbIz11Kk75F7gGHHU/J3sCYzCWYShgW67o8pJj5M5e bxLQitoDrAXpWfxkAt3n3ruV6Zq3ffazLOPrYfBIgXtX7fLThQuSLKYxthCF+e9pjkLC GJ4kHztG366zDQ4Y8quRpYRFijEEqQqRE4WKGNdjWpUcyCHcq0VFgOrQjGfbNxKuJrDc GT8A== 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 a7si6139428ejj.40.2021.02.08.07.00.28; Mon, 08 Feb 2021 07:00:59 -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 S233120AbhBHO5W (ORCPT + 99 others); Mon, 8 Feb 2021 09:57:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231962AbhBHO4v (ORCPT ); Mon, 8 Feb 2021 09:56:51 -0500 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 612CDC061794 for ; Mon, 8 Feb 2021 06:56:09 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by laurent.telenet-ops.be with bizsmtp id Sew72400P4C55Sk01ew7UE; Mon, 08 Feb 2021 15:56:07 +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 1l97xO-004eF5-VA; Mon, 08 Feb 2021 15:56:06 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1l97xO-001m2a-HP; Mon, 08 Feb 2021 15:56:06 +0100 From: Geert Uytterhoeven To: Anson Huang , Shawn Guo , Sascha Hauer , Thomas Gleixner , Marc Zyngier Cc: Fabio Estevam , Pengutronix Kernel Team , NXP Linux Team , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] irqchip: IMX_INTMUX should not default to y, unconditionally Date: Mon, 8 Feb 2021 15:56:05 +0100 Message-Id: <20210208145605.422943-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 Merely enabling CONFIG_COMPILE_TEST should not enable additional code. To fix this, restrict the automatic enabling of IMX_INTMUX to ARCH_MXC, and ask the user in case of compile-testing. Fixes: 66968d7dfc3f5451 ("irqchip: Add COMPILE_TEST support for IMX_INTMUX") Signed-off-by: Geert Uytterhoeven --- drivers/irqchip/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index b147f22a78f48450..d7d1a0fab2c1aeb8 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -457,7 +457,8 @@ config IMX_IRQSTEER Support for the i.MX IRQSTEER interrupt multiplexer/remapper. config IMX_INTMUX - def_bool y if ARCH_MXC || COMPILE_TEST + bool "i.MX INTMUX support" if COMPILE_TEST + default y if ARCH_MXC select IRQ_DOMAIN help Support for the i.MX INTMUX interrupt multiplexer. -- 2.25.1