Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4495144rwb; Mon, 21 Nov 2022 08:13:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf7q9M2gJBvC9klnTLmwitu2D/SkWjwDULDhuNBrb8WhOjRvt6hvpdZ7EogVMXuRUgTA3423 X-Received: by 2002:a17:906:7e51:b0:78d:4fcb:1303 with SMTP id z17-20020a1709067e5100b0078d4fcb1303mr16706129ejr.182.1669047239480; Mon, 21 Nov 2022 08:13:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669047239; cv=none; d=google.com; s=arc-20160816; b=qoKryqoosiIYk1djcQ7smx+48Hs/GC0qd33OM5+SiP25Qbx2Wtdiiqu2mXy3KWgTxy ID1vA6fpf/PME7gjUZHs3RoLra5NKgfXbTaneqU2XL+XhBkttO63nppgxuLU9mDSEnFZ GHEuWI2BbtXGK25WrVX+kPX4iJG17GFd9YHrk/eGcQ5as3nd5Y3HaP72LXRcnBf4GtX0 7JHiCCh0JXzohiYMZ6R5nggkCBk8aa2wRaR0EsadHO/h9KFEAzyQ9VpRcD2KHZnSeL0w GTEa0QCc4hXxTKTXQaXkggTdEfebUriH1dA1mEuNI6s+TEQniMVyt5ITCgnyV9QkTJsp W3+w== 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=s83KpKIHE+VRlPoJhqP5A4V+ETZPyY2bcdzRIZQdgeg=; b=RuNYQZOLnaJ80GiLOpweof1Tssw2RwmddaTwyMiMpRdOJSsX0GowJMX5T8tBUp9Kfc Jvgo3GSpg3k4M+uZt9KDQ+Nv2DeEcGXJ1OHuDm7EEqCRVT32ibZbEwXGyf4Vk5/qO19h 0rKA6UNy+vQVpNgVSPQ67/kkU5xSYHJFw562obzKSX2SMYRw9AKavPmtqZTgKhihTVrn 4hSFlf+VPuzNyIu7rfcnquzooqZh7uQ3t+V+mkwWObKotT75iI1v1GxAXRNCWiFGC4/y te+l4F5jeNrtvrWGTXc/LF5ZBjhqUdrOuOORRiq2ePbGgUBgIT27m/VYOXahNaXgVwNu K0Sg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lr27-20020a170906fb9b00b00772fe97b31esi7858401ejb.901.2022.11.21.08.13.17; Mon, 21 Nov 2022 08:13:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231920AbiKUQAK (ORCPT + 91 others); Mon, 21 Nov 2022 11:00:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232012AbiKUQAB (ORCPT ); Mon, 21 Nov 2022 11:00:01 -0500 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CDE1D2378 for ; Mon, 21 Nov 2022 07:59:59 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed10:4821:1ba5:2638:5c3a]) by baptiste.telenet-ops.be with bizsmtp id n3zx2800F5WXlCv013zxfm; Mon, 21 Nov 2022 16:59:57 +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 1ox9DA-0019GV-V1; Mon, 21 Nov 2022 16:59:56 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1ox9DA-00BRek-9l; Mon, 21 Nov 2022 16:59:56 +0100 From: Geert Uytterhoeven To: Marek Vasut , Stefan Agner , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH resend] drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC Date: Mon, 21 Nov 2022 16:59:55 +0100 Message-Id: <98e74779ca2bc575d91afff03369e86b080c01ac.1669046358.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Freescale/NXP i.MX LCDIF and eLCDIF LCD controllers are only present on Freescale/NXP i.MX SoCs. Hence add a dependency on ARCH_MXS || ARCH_MXC, to prevent asking the user about this driver when configuring a kernel without Freescale/NXP i.MX support. Fixes: 45d59d704080cc0c ("drm: Add new driver for MXSFB controller") Signed-off-by: Geert Uytterhoeven Reviewed-by: Marek Vasut --- v2: - Add Reviewed-by. --- drivers/gpu/drm/mxsfb/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mxsfb/Kconfig b/drivers/gpu/drm/mxsfb/Kconfig index 116f8168bda4ab1b..70e8b01238cf9079 100644 --- a/drivers/gpu/drm/mxsfb/Kconfig +++ b/drivers/gpu/drm/mxsfb/Kconfig @@ -8,6 +8,7 @@ config DRM_MXSFB tristate "i.MX (e)LCDIF LCD controller" depends on DRM && OF depends on COMMON_CLK + depends on ARCH_MXS || ARCH_MXC || COMPILE_TEST select DRM_MXS select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER -- 2.25.1