Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10709912rwd; Thu, 22 Jun 2023 03:55:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ442qK0zBgnkvgcnq5bgEU/juAJuep01J5KK+U2pgZp8iktcWzasGT4p9hsuXKMKUJPHIqZ X-Received: by 2002:a17:902:da83:b0:1b6:b829:7065 with SMTP id j3-20020a170902da8300b001b6b8297065mr138790plx.63.1687431316309; Thu, 22 Jun 2023 03:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687431316; cv=none; d=google.com; s=arc-20160816; b=EPkJB4zvq383Ppf2ays8fTOenU/wPiN6snVDLeeQqlXGtOG7aLMbCIm/4lU2y9Ki4m ZqKzDU7gOMy9f5gjZteSRQfigYTv6WqC0gN1BeH2fws1EH3sr17RzzjxOA/LB3HNU5pn scR1v88M0goi8jvWVvocFyURCGCnEizqUtDjVEv7LfkvCGRMA+kadfwZVnUsVXC1qgx6 Qv0gu0wbGDI6+TRMD34r9tuvfcxiD/lvM21LvyuvUCrw2bONpcKds3qgeyWTV7bFSF10 uTDozh0TdTui5lxi1xEJxsczEGTUMOIypzVA/EZlv6C4hnRp0gVkd/iu4UJ2N3ae7d3D dzZg== 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=XDXRbGQrgHMo8zuCmd2yitscKbzwPSdTj1/zwUGoCvc=; b=w6CYCFMzyXN8i0K1jwpqrj4XYgVVwqJbtLL4RPN7J3ZqFpB2476In4iL2mXBBhg09T xysbUZH+jDpEVfge9r9obfajCXB5es3rDLNNmDMF+8P51UfiBbH750oVBbkqEWN70NUR KzF1o+orquAzxGz083EjHtsLNqX6bk1YPiwFp/99mXGbKfkvNnc69+oVjlj1SaQCmBKK jUBrsLIjGsD1meGvjylKg4KIMx9COaaXs5jssAVCYU08hM5uu1ZhDGh1aVqZF7PGUWaa QKNe5wyc3qI/WTuBjyZppswBJpkIByeAPkw8CZlypLkd1sIhgPyhmGe0Jz7YJMZd9OKz Y5Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=igRdryfE; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a170902cec900b001b205a140fasi6609486plg.387.2023.06.22.03.55.03; Thu, 22 Jun 2023 03:55:16 -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=@kernel.org header.s=k20201202 header.b=igRdryfE; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230239AbjFVKSV (ORCPT + 99 others); Thu, 22 Jun 2023 06:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbjFVKSU (ORCPT ); Thu, 22 Jun 2023 06:18:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9107FDD; Thu, 22 Jun 2023 03:18:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2D8B5617C8; Thu, 22 Jun 2023 10:18:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCD4DC433C8; Thu, 22 Jun 2023 10:18:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687429098; bh=ON66HbfJ1HJ3YKs4MkYfePaKxVL3lLiSW463cMoqJN4=; h=From:To:Cc:Subject:Date:From; b=igRdryfErkXMOmpAXCPL6+iCdcz1mTZRIYVlWMjPI8b0SqJC69hTsbH+P/YSsAHai XP7sqjUe/IKYNNB+3suFT2wCKtmI25VVLv5GPH/pbDbdY3W6RKGBu4AHgH3mDUB1L4 TSlqXiW2Gbzk0kUakH7H1bF4MPnIV017QO2Mtf2ZIqJwRgu6QRYbua6Y6zNC/802uD Bcrlt3rKaoeT1toTidzbR8C6lSKx7br+blH7glaHq1bGY9DEd5Vzmvd1uaazGqDPJy otbwxq/Gs5Hg6u5WmoO+aOhtm781Nux25vjrlV9h0lfFe/GluICxaHSHrXHmfGlV+J geWn76zimRrxg== From: Arnd Bergmann To: Heikki Krogerus , Greg Kroah-Hartman , Neil Armstrong , Dmitry Baryshkov Cc: Arnd Bergmann , Bjorn Andersson , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb: typec: nb7vpq904m: add CONFIG_DRM dependency Date: Thu, 22 Jun 2023 12:18:09 +0200 Message-Id: <20230622101813.3453772-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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: Arnd Bergmann This driver calls directly into DRM functions and fails to link if that is disabled: ld.lld: error: undefined symbol: devm_drm_bridge_add ld.lld: error: undefined symbol: devm_drm_of_get_bridge >>> referenced by nb7vpq904m.c >>> drivers/usb/typec/mux/nb7vpq904m.o:(nb7vpq904m_probe) in archive vmlinux.a Fixes: 88d8f3ac9c67e ("usb: typec: add support for the nb7vpq904m Type-C Linear Redriver") Signed-off-by: Arnd Bergmann --- drivers/usb/typec/mux/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/mux/Kconfig b/drivers/usb/typec/mux/Kconfig index 8c4d6b8fb75c3..f53ae24b6c048 100644 --- a/drivers/usb/typec/mux/Kconfig +++ b/drivers/usb/typec/mux/Kconfig @@ -37,7 +37,7 @@ config TYPEC_MUX_INTEL_PMC config TYPEC_MUX_NB7VPQ904M tristate "On Semiconductor NB7VPQ904M Type-C redriver driver" - depends on I2C + depends on I2C && DRM select REGMAP_I2C help Say Y or M if your system has a On Semiconductor NB7VPQ904M Type-C -- 2.39.2