Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp227489pxb; Fri, 8 Jan 2021 03:27:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaWmGhr9VJW+xniYkH1Ilpfu9rXpBFUdieVXcugUTL5h9oaxDXWHft3qpgBgJXp7OuHJGd X-Received: by 2002:a17:906:b2d1:: with SMTP id cf17mr2386937ejb.281.1610105227733; Fri, 08 Jan 2021 03:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610105227; cv=none; d=google.com; s=arc-20160816; b=KLCV3XRtTgrVj9vdxspyEYpO2HXRcoZrvT1agaoYKKEh81R9lSsMt0vvV2NthJREqr IH3zUCEISNPXBLLITF8Fhn5fojcr8/9SNfkOBwbmPFZsJ4Wk2a+2oXMgsr7cX8Ssks75 2RJQ85emtN8pAY4xwYIkhSWiwFZVyJ/SvZ3c2NJ9MI08hZrwrdTKkXZrcTOdoPPpx5Rq 5aDTBxCT4oIl4GLjGFW5t+Z1CSEVgWOxXIQnM5VBJjZHurwUA7oA8IVYro0Of3kqy7f1 tBvoEo+wBzYIBXVmP1hdTrOMqOn1d+XIplVgOGNhhRAALvcPgpKmyZph2pNtvX7ysE/b 2IvQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HOQK+eZc96H6q9wRiN42b39voJsvcG47HpZ4hytgJb8=; b=LAbDztI0ijFdA755MKMB9rlYLk6J3zgzoXkt4RJzJ1ZK3LuJtzjCGfrrt+WW/fsM/Q TLzfjwSf//Idoxqm5hnMKaCy5/fj40j5RgZSQdeeXiKBwNp6grrH8mEy3cfeTrwu2yp7 IARxkEMlYVfzF6wGXKQdeGE2Mv/HZDUEiRD6BKv4dL/r39FSdInlh+oHcreg7iYY72LX 7HotVeqX0wrL8jBGGwhKUpRDh9glNmih7/fq1p2mtlq7Gl/qXJ9GcVqMKK5xqYX3yMTl +iMsOB8d5K5tZJwPm3mnm4Qh6egpRH8uEITNWfbHuWHREksavo508aqUsxkAKjL/oMPC IqOA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rp28si3302561ejb.10.2021.01.08.03.26.43; Fri, 08 Jan 2021 03:27:07 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726441AbhAHLZp (ORCPT + 99 others); Fri, 8 Jan 2021 06:25:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725817AbhAHLZo (ORCPT ); Fri, 8 Jan 2021 06:25:44 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B193C0612F4; Fri, 8 Jan 2021 03:25:04 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 78BB81F416A5 Received: by jupiter.universe (Postfix, from userid 1000) id 5A3E74800B9; Fri, 8 Jan 2021 12:24:59 +0100 (CET) From: Sebastian Reichel To: Sebastian Reichel , Tomi Valkeinen , Bartlomiej Zolnierkiewicz Cc: Laurent Pinchart , Stephen Rothwell , Sam Ravnborg , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv1] video: omapfb2: Make standard and custom DSI command mode panel driver mutually exclusive Date: Fri, 8 Jan 2021 12:24:41 +0100 Message-Id: <20210108112441.14609-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210108122540.657501b2@canb.auug.org.au> References: <20210108122540.657501b2@canb.auug.org.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Standard DRM panel driver for DSI command mode panel used by omapfb2 is also available now. Just like the other panels its module name clashes with the module from drivers/video/fbdev/omap2/omapfb/displays, part of the deprecated omapfb2 fbdev driver. As omapfb2 can only be compiled when the omapdrm driver is disabled, and the DRM panel drivers are useless in that case, make the omapfb2 panel depend on the standard DRM panels being disabled to fix the name clash. Fixes: cf64148abcfd ("drm/panel: Move OMAP's DSI command mode panel driver") Reported-by: Stephen Rothwell Signed-off-by: Sebastian Reichel --- Laurent introduced and fixed the same issue for the other panels and this simply replicates the same solution for DSI command mode panel. --- drivers/video/fbdev/omap2/omapfb/displays/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/omap2/omapfb/displays/Kconfig b/drivers/video/fbdev/omap2/omapfb/displays/Kconfig index 744416dc530e..384d74a126dc 100644 --- a/drivers/video/fbdev/omap2/omapfb/displays/Kconfig +++ b/drivers/video/fbdev/omap2/omapfb/displays/Kconfig @@ -43,6 +43,7 @@ config FB_OMAP2_PANEL_DPI config FB_OMAP2_PANEL_DSI_CM tristate "Generic DSI Command Mode Panel" depends on BACKLIGHT_CLASS_DEVICE + depends on DRM_PANEL_DSI_CM = n help Driver for generic DSI command mode panels. -- 2.29.2