Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2185892iof; Tue, 7 Jun 2022 22:32:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmur49MMKV4iFA7mxZDVCkUeAdQVwWFykpfp8Wj0u8dWQt6UugICVfmwolzxqEKctRMh8b X-Received: by 2002:a63:8443:0:b0:3fc:a29a:49ae with SMTP id k64-20020a638443000000b003fca29a49aemr28813273pgd.592.1654666355326; Tue, 07 Jun 2022 22:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654666355; cv=none; d=google.com; s=arc-20160816; b=EqMhNrbbWXHblEimWrVbhjJuZrcdUE4eHGbJdIfgUW1iDm22ygY/P5fey7tr4UnbSv KHiy762SzSWuPldaCDor9+qA5YLvphqUTd0OxP0caWDtxBEfCqltVKSoYnXhgF5I7NB7 H1NB6nRdfwmKNv6YTuUx5pf4YveCM0sANREQT9pNo5MqT29i5o6YjwHcvBXLdi9tswHu kEqs7qhFqVh02LfOmHFOpAHL243tv81XGroz+xw4LRwh51mURol1vMP0j6KzTQS6HCPE b3BBqAYRG/5z2W4gPNBWmxwr3NNdvikPhOwhvBqNyf4ARpPmcqY/X8t8A1Z/AHsvMomI 9S/g== 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=pEW4bFsfo48DQikUFxi1DtNKepNDSxsnzN1tsNjagrM=; b=IEsPw2MQZBUQoI1rjueHgNgOPplkqlO2gv4hl8uPceiEnnS7Ybajju7EuIBIp0EK/J yD+LQ1Jq+Omc7ctgXDtl7/MeWLc93BvC8iub+MBQ9ubavDrBp3lKdQbAP0JyMOaUpRQ0 LtuEo19z8qBurjUUrI9JFWPEekAtcjbUwLElpR1OFie/DAQPlY1noLMyrBVXDJDa1/DK Qq/Zpq4hX8lRmutNbVVF/oTcBI3aA44rG0TeEdahU0PctcAxf/Fh2tUHjw6It0rcfXG7 iy/w9TK/uts9v3VqCRgsSo/nuIBd+8KyRC7aw0l2fCvlxhOW1fa/6b52oAiGo3qKgl9A uMsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="d/eMWXYt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j5-20020a170903024500b00158aac8cd3asi32607033plh.351.2022.06.07.22.32.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:32:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="d/eMWXYt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 462C1215E49; Tue, 7 Jun 2022 22:00:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382235AbiFGWeA (ORCPT + 99 others); Tue, 7 Jun 2022 18:34:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378188AbiFGVWK (ORCPT ); Tue, 7 Jun 2022 17:22:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D201A15D33E; Tue, 7 Jun 2022 12:00:02 -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 A1029B823A5; Tue, 7 Jun 2022 18:59:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E71E2C385A2; Tue, 7 Jun 2022 18:59:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628374; bh=iCzqAaDlEauDmKFP1NvQj5z/6UrWCL92RGzlJmskS8E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d/eMWXYtGJKRePo8EWG8kMfv/8skxSc0Occ93nxEiStwpfGHXhcMkaOo0GnzgWEya PqO0gBNKP1jkfO59bQin892Bp9BJ2VWlTIUA7MPpgioUtD0szCOhEFgL/9xuZCfwYV J6WIcRBWKEFWLyBnaWvBoCe69ms6BzyjEQ7wckZM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, YueHaibing , "Russell King (Oracle)" , Jakub Kicinski , Sasha Levin Subject: [PATCH 5.18 306/879] net: ethernet: ti: am65-cpsw: Fix build error without PHYLINK Date: Tue, 7 Jun 2022 18:57:04 +0200 Message-Id: <20220607165011.730721057@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 bfa323c659b1016c8e896920ba08cd6914cc3b0c ] If PHYLINK is n, build fails: drivers/net/ethernet/ti/am65-cpsw-ethtool.o: In function `am65_cpsw_set_link_ksettings': am65-cpsw-ethtool.c:(.text+0x118): undefined reference to `phylink_ethtool_ksettings_set' drivers/net/ethernet/ti/am65-cpsw-ethtool.o: In function `am65_cpsw_get_link_ksettings': am65-cpsw-ethtool.c:(.text+0x138): undefined reference to `phylink_ethtool_ksettings_get' drivers/net/ethernet/ti/am65-cpsw-ethtool.o: In function `am65_cpsw_set_eee': am65-cpsw-ethtool.c:(.text+0x158): undefined reference to `phylink_ethtool_set_eee' Select PHYLINK for TI_K3_AM65_CPSW_NUSS to fix this. Fixes: e8609e69470f ("net: ethernet: ti: am65-cpsw: Convert to PHYLINK") Signed-off-by: YueHaibing Reviewed-by: Russell King (Oracle) Link: https://lore.kernel.org/r/20220409105931.9080-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- drivers/net/ethernet/ti/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig index affcf92cd3aa..fb30bc5d56cb 100644 --- a/drivers/net/ethernet/ti/Kconfig +++ b/drivers/net/ethernet/ti/Kconfig @@ -94,6 +94,7 @@ config TI_K3_AM65_CPSW_NUSS depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER select NET_DEVLINK select TI_DAVINCI_MDIO + select PHYLINK imply PHY_TI_GMII_SEL depends on TI_K3_AM65_CPTS || !TI_K3_AM65_CPTS help -- 2.35.1