From patchwork Wed Jun 7 13:56:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13270726 X-Patchwork-Delegate: kuba@kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91657139F for ; Wed, 7 Jun 2023 13:56:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AE65C433EF; Wed, 7 Jun 2023 13:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686146215; bh=r/dkeieRe+CBoWvVAbirfQe75r6oLh/K8kfqL8af9hg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cBhVEDK+bGfJNxNkcrFUiig1oWzsBWPMPtjov+xF+5agQV6NYtYaDfU7xTAQhH/XW hTHp1n1g4wkwBygN4PCLDkJ0a4yY/eZiaTUHURRV/vnnjH38RAXjedh3la9SF1dO/f OTKHTuhKrNavhhi+tRgkpaJ/WIlLocnI28wpcHnV1lScn2fUyf3D1I1MZlc29ofQiP LPsDLGGbkQPSZPNEGFbUmqbGG9OLZaGVHnA+CyKbxWgUu7zN8VwSQijOq8sYjz/LVt bs254+DnLjkTQpPyQx9CYn4LZfWqVmViL+Mr6JA4o38CJ2wt2Al8OmCXcWTPi5CH1m Zl8I09ruBqFhQ== From: Arnd Bergmann To: Joyce Ooi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Chevallier , Simon Horman Cc: Arnd Bergmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] net: altera-tse: fix broken Kconfig dependency Date: Wed, 7 Jun 2023 15:56:33 +0200 Message-Id: <20230607135638.1341101-2-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230607135638.1341101-1-arnd@kernel.org> References: <20230607135638.1341101-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org From: Arnd Bergmann The CONFIG_PCS_ALTERA_TSE symbol is gone, so make sure the ethernet driver selects the correct symbol for its replacement, avoiding: x86_64-linux-ld: drivers/net/ethernet/altera/altera_tse_main.o: in function `altera_tse_remove': altera_tse_main.c:(.text+0xdf): undefined reference to `lynx_pcs_destroy' Fixes: 196eec4062b00 ("net: pcs: Drop the TSE PCS driver") Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/altera/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/altera/Kconfig b/drivers/net/ethernet/altera/Kconfig index 93533ba034294..17985319088c1 100644 --- a/drivers/net/ethernet/altera/Kconfig +++ b/drivers/net/ethernet/altera/Kconfig @@ -4,7 +4,7 @@ config ALTERA_TSE depends on HAS_DMA select PHYLIB select PHYLINK - select PCS_ALTERA_TSE + select PCS_LYNX select MDIO_REGMAP select REGMAP_MMIO help