Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp853992pxu; Wed, 14 Oct 2020 16:03:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyD3mWrKl94zdyfdt6S4MnOSu77Sk/dfmozfRkWfPyVHGR2Rdbo0GVXpUYezeUHp19ZZ63m X-Received: by 2002:a17:906:394:: with SMTP id b20mr1376661eja.513.1602716615760; Wed, 14 Oct 2020 16:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602716615; cv=none; d=google.com; s=arc-20160816; b=ubNAr3GqCX1wqWsnBAzFExZ+XxJM2zG9MtwPLcFRHgN5i9MixacX2/Jw48LTC3WZTS hLbEbH0Cosx/Qo4k5VE+kvBcuoYZ9YAnSpJoWU31EsWEVrLsd/HNHrjj2L7GYKd28Gtt NUdUaO7WRJI9YG+bOERWvD3HxIznczjOn7ZoMS1bLc24SxD7ugIA1uO5X0QLhbpEb9oY tVNLGoOra8wCrILFbBgExuw3gV+jQ9yDU8TKCoTgYvBZhJh6b4nHr2sQYhcUCsClbk9+ AtDZbxcyc/IO8Pmsm9LIsBzrSThTdKs+o8eVfElZP1j8C3FAvPC6hd0URYs0NMrJLqEA LBrg== 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=H/gas9vGmfePmKdMPlPZd8CBa1+xjPdh3Yx85hvbI8Q=; b=J0B4noTJzv+gMCyKxJy3mvN3MK/0vNtjxDJuqh6Fh1OQZ2WJDJBc6ia36ChHlrK9lY 8fgTyKoyoQ1lAimAxvtzm6cacXeh01WZwx3LKhLXnuUhg1nCYI3/XHToQuHtw80bxYMy UVyEBgJr/+B/KopSwyHCwrXkSXhS+yaIoHPXycMRkKHudzyoCS4g9Cgro+PYEwU60RD6 3vhivewtaYlPS5qpe/1E+giWoB21vdTkhpAK3Qct5r1TrvNdZnynJXZeC0WO6yn9lnM2 cWFAvLFUgJjYd/3N4ooW1m469F7qmyRgpBObikikq1D9viN8rSYBMQ1v8PpYjUaJqdJy jdKQ== 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 kt25si820139ejb.438.2020.10.14.16.03.13; Wed, 14 Oct 2020 16:03:35 -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 S1731164AbgJNNRK (ORCPT + 99 others); Wed, 14 Oct 2020 09:17:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728420AbgJNNRH (ORCPT ); Wed, 14 Oct 2020 09:17:07 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 849B0C061755 for ; Wed, 14 Oct 2020 06:17:07 -0700 (PDT) Received: from ramsan ([84.195.186.194]) by albert.telenet-ops.be with bizsmtp id fpH42300F4C55Sk06pH4Al; Wed, 14 Oct 2020 15:17:05 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1kSgeO-0007y9-83; Wed, 14 Oct 2020 15:17:04 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1kSgeO-0004ke-6Q; Wed, 14 Oct 2020 15:17:04 +0200 From: Geert Uytterhoeven To: Thomas Gleixner , Jason Cooper , Marc Zyngier , Mark-PK Tsai , Daniel Palmer Cc: Matthias Brugger , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH] irqchip: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7 Date: Wed, 14 Oct 2020 15:17:03 +0200 Message-Id: <20201014131703.18021-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 The MStar interrupt controller is only found on MStar, SigmaStar, and Mediatek SoCs. Hence add dependencies on ARCH_MEDIATEK and ARCH_MSTARV7, to prevent asking the user about the MStar interrupt controller driver when configuring a kernel without support for MStar, SigmaStar, and Mediatek SoCs. Fixes: ad4c938c92af9130 ("irqchip/irq-mst: Add MStar interrupt controller support") Signed-off-by: Geert Uytterhoeven --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index c6098eee0c7cf217..500b16648e5183c4 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -591,6 +591,7 @@ config LOONGSON_PCH_MSI config MST_IRQ bool "MStar Interrupt Controller" + depends on ARCH_MEDIATEK || ARCH_MSTARV7 || COMPILE_TEST default ARCH_MEDIATEK select IRQ_DOMAIN select IRQ_DOMAIN_HIERARCHY -- 2.17.1