From: Lorenzo Bianconi Date: Wed, 27 May 2026 10:21:20 +0000 (+0200) Subject: net: airoha: Rename airoha_set_gdm2_loopback in airoha_enable_gdm2_loopback X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=842a7ee50d68d66afef4536bf3abdaaed2e0e5f5;p=thirdparty%2Flinux.git net: airoha: Rename airoha_set_gdm2_loopback in airoha_enable_gdm2_loopback This is a preliminary patch in order to allow the user to select if the configured device will be used as hw lan or wan. Please not this patch does not introduce any logical changes, just cosmetic ones. Signed-off-by: Lorenzo Bianconi Link: https://patch.msgid.link/20260527-airoha-eth-multi-serdes-preliminary-v1-6-ec6ed73ef7fc@kernel.org Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/ethernet/airoha/airoha_eth.c b/drivers/net/ethernet/airoha/airoha_eth.c index 72c6f554508c..6574901ebd19 100644 --- a/drivers/net/ethernet/airoha/airoha_eth.c +++ b/drivers/net/ethernet/airoha/airoha_eth.c @@ -1796,7 +1796,7 @@ static int airoha_dev_set_macaddr(struct net_device *netdev, void *p) return 0; } -static int airoha_set_gdm2_loopback(struct airoha_gdm_dev *dev) +static int airoha_enable_gdm2_loopback(struct airoha_gdm_dev *dev) { struct airoha_gdm_port *port = dev->port; struct airoha_eth *eth = dev->eth; @@ -1877,7 +1877,7 @@ static int airoha_dev_init(struct net_device *netdev) if (!eth->ports[1]) { int err; - err = airoha_set_gdm2_loopback(dev); + err = airoha_enable_gdm2_loopback(dev); if (err) return err; }