Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2814310rwb; Mon, 15 Aug 2022 11:53:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR7JR224HZoVw7LgDvEluQJpPJeZSS/dlk23y/nL9B+fx98SLenKHSUXKGLEVdIba3bGB/6Z X-Received: by 2002:a05:6402:2751:b0:443:d90a:43d4 with SMTP id z17-20020a056402275100b00443d90a43d4mr3823289edd.368.1660589618273; Mon, 15 Aug 2022 11:53:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660589618; cv=none; d=google.com; s=arc-20160816; b=rlIM2mXWI51Rt6xpy+/Qry3CnOGSMO7ikHoxoFsIZj41yaa9oaW8mRoPHWGocZNNtf RZcZP/DCwO3f5/Go8AcwPtrU5FCb94f2nkfcxNtrABLHnGvAP0k4uGI36rheWIzAUZpa K7Wc9As1PBVYpfmneENKBFV4w0p05Ccu+p96z9vtz3I1ybg4zg7irL5zISnmAkQ42jsf T+OQBB3Ny/IIxB8JznRqRJjWfK/Qex8Dhvq3Hf2Xusq+HJ5ZQSGC4fAM0RyLdrB0pQ8j SYFB6B2q2nN1WoYGxaZ8abCfKreX+RggjyjLxZnZGlKiJKJw6lSo4hRcjSJra3mRpERN wQ8g== 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=GErJ8cTtxQBwa4TnT7hjqHWhcQz3tTHni+Oca9scmHo=; b=CLt8VCcFxWAn0yNwnWBTaDuh8ma/LfIXapn9a/W4YOT4rArgbGLxn/DONhmn9fV6GK NFRj9UPliIqxWaCTRPfQGRZzuCsnKNlSvzr7XOsjkf/2KVxFeub4oVlIXOSkTCzFcSHu ppSeY36cy+i/3QyBUTE5n6RQ2OZGNo6xTNj6ArtbiCFK75dY/zmn3ebXmgXcor4NlQVw C3bDstLFqWAHY+yKByVI9fXggAAqBQ5tSpv16ZIdA26ddAaBSQQMxUhaKhbQvPkmRy76 cAN/QxSgGHkxYPNP7hJqs32S8pT/M4vlzWi4MwUQUAYj+hcCyaReEccJ0QYkK79VDzpg A0Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JcHUbreC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f12-20020a056402354c00b0043bb8df080fsi8027672edd.606.2022.08.15.11.53.09; Mon, 15 Aug 2022 11:53:38 -0700 (PDT) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JcHUbreC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243050AbiHOSot (ORCPT + 99 others); Mon, 15 Aug 2022 14:44:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243937AbiHOSlr (ORCPT ); Mon, 15 Aug 2022 14:41:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 347EA2DD6; Mon, 15 Aug 2022 11:25:22 -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 dfw.source.kernel.org (Postfix) with ESMTPS id BEAF760FB5; Mon, 15 Aug 2022 18:25:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5318BC433C1; Mon, 15 Aug 2022 18:25:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660587921; bh=qNfThmwwq1963EsJfsk7YisRF50ZzA+a4G/WyzoxZvs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JcHUbreC2liXied1gplOA2r9WNLh9k78IDWtTWwOdPblH4VYPFu3wbMKwdXjy/a/V 6+NqdO37LWVawKB+uFWOPHzzLP4gWtxsO/7dcLq9XLw2FmkDEGBrfEPw/M7nAj3wmY mhvd0UhKLNtLlgG6OabMjlVwi/PoA2Hubviu7ZWg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , Gao Chao , Douglas Anderson , Sasha Levin Subject: [PATCH 5.15 238/779] drm/panel: Fix build error when CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=y && CONFIG_DRM_DISPLAY_HELPER=m Date: Mon, 15 Aug 2022 19:58:02 +0200 Message-Id: <20220815180347.456238519@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Gao Chao [ Upstream commit a67664860f7833015a683ea295f7c79ac2901332 ] If CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=y && CONFIG_DRM_DISPLAY_HELPER=m, bulding fails: drivers/gpu/drm/panel/panel-samsung-atna33xc20.o: In function `atana33xc20_probe': panel-samsung-atna33xc20.c:(.text+0x744): undefined reference to `drm_panel_dp_aux_backlight' make: *** [vmlinux] Error 1 Let CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 select DRM_DISPLAY_DP_HELPER and CONFIG_DRM_DISPLAY_HELPER to fix this error. Fixes: 32ce3b320343 ("drm/panel: atna33xc20: Introduce the Samsung ATNA33XC20 panel") Reported-by: Hulk Robot Signed-off-by: Gao Chao Reviewed-by: Douglas Anderson Signed-off-by: Douglas Anderson Link: https://patchwork.freedesktop.org/patch/msgid/20220524024551.539-1-gaochao49@huawei.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/panel/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index af1402d83d51..479ffdb64486 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -373,6 +373,8 @@ config DRM_PANEL_SAMSUNG_ATNA33XC20 depends on OF depends on BACKLIGHT_CLASS_DEVICE depends on PM + select DRM_DISPLAY_DP_HELPER + select DRM_DISPLAY_HELPER select DRM_DP_AUX_BUS help DRM panel driver for the Samsung ATNA33XC20 panel. This panel can't -- 2.35.1