Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1011763pxb; Thu, 15 Apr 2021 11:37:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAdDNxmJlh5jYS+MH5hj+tKWcVEOonOJMsrNRHk0CvMSt5gXLuivUAJKfx1I1p7LbNBFne X-Received: by 2002:a17:902:ea10:b029:e8:e2e9:d9a5 with SMTP id s16-20020a170902ea10b02900e8e2e9d9a5mr5448415plg.22.1618511864251; Thu, 15 Apr 2021 11:37:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618511864; cv=none; d=google.com; s=arc-20160816; b=Elw4FRu/QFPobiSpUvedCEWUzyjPmZ+daeZRaMxbFzIKWEDHJC0SiWIps4iQYK0Rr3 cSzdRPZcqyRI/fL8xT0/KH1wr8Yjin+l0uZ/OvXfYld40XBl8K888hWZrybU+AFO6W0c Kwx89aZg10EBYgtOO2y9N/0ajyn+mibRbtHaS/QcCFaB2LkWz3QYqsN1ymH8MbhokMdE qcwus0WNb2FeFYRdrgphCMEU70v/s1anQRaXvElXMtaOExlSvxvC+ChS0UL54ZQy3f3M ry2c/9hg8FeejwkEXNdNJhu+TJTPLGhA7R2McNVFQKUlIuXy46OgxHBrbURU9jSa94Cz o3Vg== 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:dkim-signature; bh=IaCRoKAqEtl3CLtnztHtdjbvOkO6tttpieuRpGwomT8=; b=L9/nhSiZgHAgtIjDuh5LrV4Q6bw3qaMz4k9Oh/gGUvi8ttm9PowvI2EARoo5iHeeMP oq6mPtFqAOIlhWLWo0dyp4mruWZw5ACM0T/4+vEsPBS4GwWNzHc3Xo9d3trQFpI196MU Zvu96XJyKJAA41krLoJipuPMtbMGiAfYj4cglld6yeyYCASxyIkTFXVLQNrjSLUFYf/L wb+mGkalwsQOBIDERyQfK9NcQo/j5+tHmNy+MRMhnwU6Nt4gyv6RklBBR6wd7ipqU+GT TkDCyuNu3ErTu3GfFOhyT68pn3WeM23NoP90NjQWABf3qk83ybKYqZV5+oaFFZHEK1Ww q3LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=kKFRxM7p; 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 c16si3772916plo.326.2021.04.15.11.37.31; Thu, 15 Apr 2021 11:37:44 -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; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=kKFRxM7p; 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 S234511AbhDOShM (ORCPT + 99 others); Thu, 15 Apr 2021 14:37:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233052AbhDOShL (ORCPT ); Thu, 15 Apr 2021 14:37:11 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65A65C061574; Thu, 15 Apr 2021 11:36:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=IaCRoKAqEtl3CLtnztHtdjbvOkO6tttpieuRpGwomT8=; b=kKFRxM7p95YppixJHIw3Km2p/D X1EchgueKzGGiQGCESXxHtenlwuZs7mN2/6DJLeiKEibvasLjDm3C8uaoplW4kUse0nknXPsrv9q0 rybJSFFY1kPOQ0BnJMJ1DW7jOczk28mc6qeaXajbLoJcIYcnz2hla0XzlfJDcHyyN4EcaCX/ONl4s AYbyA3qPoHXgmyAJ0JBlUXth3Ulx0Ka7Aq/kPaKDEwfgAomIoW+CLh/vmoa0uSjhsdxHe4Oe4ehBz TI/P75j0VMTEp2XgdCq2zlNPJnRBHD7Jk9SoAWPAZmLtD+189B7UEN2lPtKJy6MwTep/QqnE64lCw 66EpNtMw==; Received: from [2601:1c0:6280:3f0::df68] (helo=smtpauth.infradead.org) by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lX6r6-00H0oz-FC; Thu, 15 Apr 2021 18:36:45 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Dmitry Baryshkov , Sam Ravnborg , Vinod Koul , Bjorn Andersson , Srinivas Kandagatla , Adrien Grassein , Andrzej Hajda , Neil Armstrong , Robert Foss , dri-devel@lists.freedesktop.org, stable@vger.kernel.org Subject: [PATCH -next] drm: bridge: fix LONTIUM use of mipi_dsi_() functions Date: Thu, 15 Apr 2021 11:36:39 -0700 Message-Id: <20210415183639.1487-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Lontium DRM bridge drivers use mipi_dsi_() function interfaces so they need to select DRM_MIPI_DSI to prevent build errors. ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! WARNING: modpost: suppressed 5 unresolved symbol warnings because there were too many) Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge") Fixes: 0cbbd5b1a012 ("drm: bridge: add support for lontium LT9611UXC bridge") Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Dmitry Baryshkov Cc: Sam Ravnborg Cc: Vinod Koul Cc: Bjorn Andersson Cc: Srinivas Kandagatla Cc: Adrien Grassein Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Robert Foss Cc: dri-devel@lists.freedesktop.org Cc: stable@vger.kernel.org --- drivers/gpu/drm/bridge/Kconfig | 3 +++ 1 file changed, 3 insertions(+) --- linux-next-20210414.orig/drivers/gpu/drm/bridge/Kconfig +++ linux-next-20210414/drivers/gpu/drm/bridge/Kconfig @@ -66,6 +66,7 @@ config DRM_LONTIUM_LT8912B depends on OF select DRM_PANEL_BRIDGE select DRM_KMS_HELPER + select DRM_MIPI_DSI select REGMAP_I2C help Driver for Lontium LT8912B DSI to HDMI bridge @@ -81,6 +82,7 @@ config DRM_LONTIUM_LT9611 depends on OF select DRM_PANEL_BRIDGE select DRM_KMS_HELPER + select DRM_MIPI_DSI select REGMAP_I2C help Driver for Lontium LT9611 DSI to HDMI bridge @@ -94,6 +96,7 @@ config DRM_LONTIUM_LT9611UXC depends on OF select DRM_PANEL_BRIDGE select DRM_KMS_HELPER + select DRM_MIPI_DSI select REGMAP_I2C help Driver for Lontium LT9611UXC DSI to HDMI bridge