From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jose Abreu Subject: [PATCH net-next 2/4] net: phy-c45: Populate autoneg_done callback Date: Mon, 22 Oct 2018 11:32:47 +0100 Message-ID: <65a0791a760dc488f62445343e041baf4a2db17e.1540204183.git.joabreu@synopsys.com> References: Cc: Jose Abreu , Andrew Lunn , Florian Fainelli , "David S. Miller" , Joao Pinto To: netdev@vger.kernel.org Return-path: Received: from smtprelay.synopsys.com ([198.182.47.9]:39904 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728101AbeJVSvF (ORCPT ); Mon, 22 Oct 2018 14:51:05 -0400 In-Reply-To: In-Reply-To: References: Sender: netdev-owner@vger.kernel.org List-ID: We already have this callback implemented. Use it in driver structure. Signed-off-by: Jose Abreu Cc: Andrew Lunn Cc: Florian Fainelli Cc: "David S. Miller" Cc: Joao Pinto --- drivers/net/phy/phy-c45.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/phy-c45.c b/drivers/net/phy/phy-c45.c index e1225545362d..c0135217b81f 100644 --- a/drivers/net/phy/phy-c45.c +++ b/drivers/net/phy/phy-c45.c @@ -330,6 +330,7 @@ struct phy_driver genphy_10g_driver = { .soft_reset = gen10g_no_soft_reset, .config_init = gen10g_config_init, .features = 0, + .aneg_done = genphy_c45_aneg_done, .config_aneg = gen10g_config_aneg, .read_status = gen10g_read_status, .suspend = gen10g_suspend, -- 2.7.4