Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4519831rwb; Mon, 21 Nov 2022 08:32:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf5BM7Hj3Z+S3uOeyx69aPWMb0EdXrY0KzJNck2j2YdwMYFLwqcEZSF29jAPJSle93cNQQcw X-Received: by 2002:a05:6a00:1d98:b0:56d:4670:6e2a with SMTP id z24-20020a056a001d9800b0056d46706e2amr8758099pfw.77.1669048339273; Mon, 21 Nov 2022 08:32:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669048339; cv=none; d=google.com; s=arc-20160816; b=tHAosgXhsefyKW6EG9pTnWjT8P/WaH5sHQ0H7aaQCX66IOdplUWyA/mIuzx8cG0bb2 SJQUGtPUn1u/baXSx/dqEsK78QDwJrssP3phU3qT2ip/A4ee43bZ7kRkhQSYHa5tzicT Mht09vtP3caIzSa8n1VbIPTNGpg67CHN6KSMUzx1MlezzIDM9sa8AMlW32Uh8WEUArXv fWqJJQBNI4lLgVQVr3Wa7+JQ0gBFPi12vPIeTQjtDPHXZKVKzYgrulRrqgv9j2gmDLw3 hAr3vhaHHjqzm9GCSOoh/f2j+/Pi8ImFVglafmCBVgUxCZrlsDYX8IuidZqSXzYKtI51 znCg== 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=ab4tXmxJEa961UbMSYFyDZ7EMnGYWAJYlAtQIiI1Rq8=; b=n+h6rwSC9eNacMT+1Uoi9EAfvp1GP8gZWCyfnywnKw9JS91IKZ4zXqC5ZncXX5/qEX h+JWW3hPrSN/1q7lYilH3ey74KH6Osq3S7ZeKw+xw00O854GHOhdjGKyjcvnuk9OPPqR lL4nJxEOTONRrEwjCshZPMSoSmIX/Og7daIowejBAX46ZylyIlGde0QsqE2NrbYT6A5G 6e0/EplQXS47kZnxinWbquRwuhzN86nT8GyL51LKLrZuVjU+EGpQaBKCsRi17M/z3G0g UZml5vnXKc6hTe5qFWB5D4WXgotE8VDVxLi+S0Zj71NPapId89HKmIliwwjTlJaQgLZn kOPg== 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 q10-20020a63e20a000000b00476e6407413si11956057pgh.15.2022.11.21.08.32.04; Mon, 21 Nov 2022 08:32:19 -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 S231781AbiKUQA5 (ORCPT + 92 others); Mon, 21 Nov 2022 11:00:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbiKUQAx (ORCPT ); Mon, 21 Nov 2022 11:00:53 -0500 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E74FD228F for ; Mon, 21 Nov 2022 08:00:52 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed10:4821:1ba5:2638:5c3a]) by xavier.telenet-ops.be with bizsmtp id n40q2800Z5WXlCv0140q6y; Mon, 21 Nov 2022 17:00:50 +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 1ox9E2-0019Gs-7c; Mon, 21 Nov 2022 17:00:50 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1ox9E1-00BRiA-Qf; Mon, 21 Nov 2022 17:00:49 +0100 From: Geert Uytterhoeven To: Marek Vasut , Stefan Agner , David Airlie , Daniel Vetter , Lucas Stach Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH resend] drm: mxsfb: DRM_IMX_LCDIF should depend on ARCH_MXC Date: Mon, 21 Nov 2022 17:00:48 +0100 Message-Id: <6103c1aa65a7888c12d351ae63f29850f29f42b9.1669046403.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 The Freescale/NXP i.MX LCDIFv3 LCD controller is only present on Freescale/NXP i.MX SoCs. Hence add a dependency on ARCH_MXC, to prevent asking the user about this driver when configuring a kernel without Freescale/NXP i.MX support. Fixes: 9db35bb349a0ef32 ("drm: lcdif: Add support for i.MX8MP LCDIF variant") 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 70e8b01238cf9079..518b533453548630 100644 --- a/drivers/gpu/drm/mxsfb/Kconfig +++ b/drivers/gpu/drm/mxsfb/Kconfig @@ -25,6 +25,7 @@ config DRM_IMX_LCDIF tristate "i.MX LCDIFv3 LCD controller" depends on DRM && OF depends on COMMON_CLK + depends on ARCH_MXC || COMPILE_TEST select DRM_MXS select DRM_KMS_HELPER select DRM_GEM_DMA_HELPER -- 2.25.1