Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2252106iof; Wed, 8 Jun 2022 00:32:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybGxxEGJLhgH8Z8UL9fAtVzc4fpK541sFGmdwJzFXI4K/VdTSQXEtmUBqeRaaxu2tDSW3f X-Received: by 2002:a65:6256:0:b0:3fb:d727:4f3e with SMTP id q22-20020a656256000000b003fbd7274f3emr29531834pgv.359.1654673534293; Wed, 08 Jun 2022 00:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654673534; cv=none; d=google.com; s=arc-20160816; b=JOJbSEwgBO/Qt1pYNPRi97R6nKqwaYANl03JSh2HV61wKHJl+XE+cj2gTx1wBIMeU+ m862nPNsPoXibPbL3quto5mvCOhI+lWNAhTc+41a18Wj9Ar5nFKObTS6/ZNApIXPwM6f pFm8tnfKLBOcY91agXlevn8ZJCCf5UqUNXK27/ESdqCagAGIZDP0Zfdy40jmxf9V/hzY 80vTejluogpX+xWGKiPwfO1A1Oe1x95maetHQJ4t06yPt8gSTvc0Xru/DhAEKmRiVesh T9MODqjj+rVsQGBlp0itohVFXwRZWhNBQkQjBvcn84pMyNByJXEOUQu3E09mEjEKeQSF jRVQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rlNAzBG/2rlWuVzqJ+BSXtlc1C9sWRVCyPWDtvd5wi4=; b=XWHPqcLP+dXCxfWTnBiLNaKohhhB80n2F/cZTmsLTxnIxoDNphMjXIQzPcDQKC02vO 9TIfNwONUTjgWOrAbP+N6aAHNK7QXhdnyyPHDxr5/5nkjO6/xmDKgTXn6VMdK1RRnLU6 Jgg9eg7pgVvQFTYxiElD/lKVentmpM2hEMni+Yc8yxgHr6UqL0r8StmB9XX0KnesAac1 a8FOlmLnppWQapGFGmzeTPmzVzSPC5MKOPACSrnBtwPGNQ+Xs9A4UlYBGCwByeJu/xYd auEjjalAEuFk1FmC7GV7h8WPjU+CTTXDg7sjjGKIJU6ZXgd/EI+WHpCkjHrxzZAOfA3b ozUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jp+DuAfG; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p14-20020a170902a40e00b00158e566366dsi25348708plq.366.2022.06.08.00.32.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 00:32:14 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jp+DuAfG; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8E5261FDE8C; Wed, 8 Jun 2022 00:04:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381891AbiFGWYU (ORCPT + 99 others); Tue, 7 Jun 2022 18:24:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380884AbiFGVRH (ORCPT ); Tue, 7 Jun 2022 17:17:07 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AC2114CA11; Tue, 7 Jun 2022 11:58:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9EE08B82391; Tue, 7 Jun 2022 18:57:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7161C36AFF; Tue, 7 Jun 2022 18:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628278; bh=TXdYIlv8GMbuy2kPzeKAPO0DMYcaGZuJN0ZRyUD6OrQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jp+DuAfGuwW/HhNQSD2l1V24hRiWqAQdEH0ecNroun20UofwnJDFweLPlJYz30CKb 9x6mFErSOWXbzDYF/6NKCdZbOz+29QgZhaylR8QkXXLV2nprLLGu8NYeCcYxgNTCKG AjuA4tJEcmZ48ER2FAEaY2uO+ZlboKQZSe1abDls= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, YueHaibing , Robert Foss , Sasha Levin Subject: [PATCH 5.18 270/879] drm/bridge: it6505: Fix build error Date: Tue, 7 Jun 2022 18:56:28 +0200 Message-Id: <20220607165010.687320222@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 From: YueHaibing [ Upstream commit 3dd4834a6efe4eb3c086526e1870bb768776d86a ] If DRM_ITE_IT6505 is y but DRM_DP_HELPER is m, building failed: drivers/gpu/drm/bridge/ite-it6505.o: In function `it6505_i2c_remove': ite-it6505.c:(.text+0x35c): undefined reference to `drm_dp_aux_unregister' drivers/gpu/drm/bridge/ite-it6505.o: In function `it6505_dpcd_read': ite-it6505.c:(.text+0x420): undefined reference to `drm_dp_dpcd_read' drivers/gpu/drm/bridge/ite-it6505.o: In function `it6505_get_dpcd': ite-it6505.c:(.text+0x4a4): undefined reference to `drm_dp_dpcd_read' drivers/gpu/drm/bridge/ite-it6505.o: In function `it6505_dpcd_write': ite-it6505.c:(.text+0x52c): undefined reference to `drm_dp_dpcd_write' Select DRM_DP_HELPER for DRM_ITE_IT6505 to fix this. Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver") Signed-off-by: YueHaibing Reviewed-by: Robert Foss Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20220317094724.25972-1-yuehaibing@huawei.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/bridge/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index 2145b08f9534..becd9867f3a0 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -77,6 +77,7 @@ config DRM_DISPLAY_CONNECTOR config DRM_ITE_IT6505 tristate "ITE IT6505 DisplayPort bridge" depends on OF + select DRM_DP_HELPER select DRM_KMS_HELPER select DRM_DP_HELPER select EXTCON -- 2.35.1