Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1523564ybl; Thu, 22 Aug 2019 16:23:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTNJZjNerw39sayYyH7YXFjVaGLc0Hy54YVy/EmBJwA2vyUMB7XF9d2l/ffb/OLZ3ycZAf X-Received: by 2002:a17:902:d898:: with SMTP id b24mr1458210plz.7.1566516215507; Thu, 22 Aug 2019 16:23:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566516215; cv=none; d=google.com; s=arc-20160816; b=Zou8Me4/nJrdxDP+RfPc+uqLK95e1WsatDyKk9gzS31+4T44Qn835zrOkhbX6/pISv kGNr7FXZY8EMpmoXzTZSAzzxMwGPZQQLC8gPzIpru8U/3SnXJv4O3tHb+9SmPGxWowja lOxUG/sB6FaKK0CdJ0vI4ZcZWI6i1dxCh7zR1fxUD1Huf+98Ug+PCI5BTZ12P4l8SVH0 WqB7iwY8XDeQ3VaUo+BLka2hntWTjq2p1XgezjseeQz3jrI3FOv7Cogpwi4DMwOlGpmz yLN6v6+eunnVHJThdxGHtvQZJWReD95TfXQtQKjzqmz275m/o0+4wiksVZR6VKCFw//s IyMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aCrgO5NaqSbVLdfZO1QS85nymFPz66SwqnGlUTZNeMk=; b=NGwo80wSx5leTcGb0uVCQFn/v4um4igKsmy6mxNEZZbkhhwzwUY0IxcIrwzrp9HbYU 0JWw+KyN+LlL3KpvFGCB9cMPhFEyE+bAlAl2eUkLY7ENW30+t7hIXAMOyr4fGBGDWW3i V10Oe9wCaqpdsdqKDHYLYw93qCKzb3G9xntvsbdl+KuH0mH5axS0IsfcaXFt6dYL9VEM t69smrrAP0CP+U0UoWGD4GoFXnFzoEqu3Ddlk/ScW7zlfQsVFF5WOaUn/VffrC8YfR8F RONJ7kWBuP9BGt3BiImOnJuojz/Y/w4AUOg/XkovrIuEeZki0H2KXZ+E+V7tGuGEiP2n pANQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="A/5ubAmz"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11si768446plq.208.2019.08.22.16.23.15; Thu, 22 Aug 2019 16:23:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="A/5ubAmz"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389030AbfHVRPP (ORCPT + 99 others); Thu, 22 Aug 2019 13:15:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:58642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390481AbfHVRIq (ORCPT ); Thu, 22 Aug 2019 13:08:46 -0400 Received: from sasha-vm.mshome.net (wsip-184-188-36-2.sd.sd.cox.net [184.188.36.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D986F2341C; Thu, 22 Aug 2019 17:08:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566493726; bh=tX3+3B/kq+FNOebC/0HT2A+XLEXbQHn4wNEEh5n8x30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A/5ubAmzsTxlTxnR4UqU9i9J2vvuE283Wg1lQge+3p0bGfrRByeIgW3sEZaxe7Pih RKbDupVHYm0RGky9EHQxvpMFtiPyFrcohg4exPZCaS5tz5W0W+yLm6ghcfxQFKcPGD amkKZ9P5J6N1YTG7Ihijmer0mRMMZjLsZcnUvQwE= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: YueHaibing , Hulk Robot , Laurent Pinchart , Neil Armstrong , Sasha Levin Subject: [PATCH 5.2 058/135] drm/bridge: tc358764: Fix build error Date: Thu, 22 Aug 2019 13:06:54 -0400 Message-Id: <20190822170811.13303-59-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190822170811.13303-1-sashal@kernel.org> References: <20190822170811.13303-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.2.10-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.2.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.2.10-rc1 X-KernelTest-Deadline: 2019-08-24T17:07+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing [ Upstream commit e1ae72a21e5f0d1846e26e3f5963930664702071 ] If CONFIG_DRM_TOSHIBA_TC358764=y but CONFIG_DRM_KMS_HELPER=m, building fails: drivers/gpu/drm/bridge/tc358764.o:(.rodata+0x228): undefined reference to `drm_atomic_helper_connector_reset' drivers/gpu/drm/bridge/tc358764.o:(.rodata+0x240): undefined reference to `drm_helper_probe_single_connector_modes' drivers/gpu/drm/bridge/tc358764.o:(.rodata+0x268): undefined reference to `drm_atomic_helper_connector_duplicate_state' drivers/gpu/drm/bridge/tc358764.o:(.rodata+0x270): undefined reference to `drm_atomic_helper_connector_destroy_state' Like TC358767, select DRM_KMS_HELPER to fix this, and change to select DRM_PANEL to avoid recursive dependency. Reported-by: Hulk Robot Fixes: f38b7cca6d0e ("drm/bridge: tc358764: Add DSI to LVDS bridge driver") Signed-off-by: YueHaibing Reviewed-by: Laurent Pinchart Reviewed-by: Neil Armstrong Signed-off-by: Neil Armstrong Link: https://patchwork.freedesktop.org/patch/msgid/20190729090520.25968-1-yuehaibing@huawei.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/bridge/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index cc62603b87c59..e4e22bbae2a7c 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -117,9 +117,10 @@ config DRM_THINE_THC63LVD1024 config DRM_TOSHIBA_TC358764 tristate "TC358764 DSI/LVDS bridge" - depends on DRM && DRM_PANEL depends on OF select DRM_MIPI_DSI + select DRM_KMS_HELPER + select DRM_PANEL help Toshiba TC358764 DSI/LVDS bridge driver. -- 2.20.1