Skip to content

Commit 842a7ee

Browse files
LorenzoBianconikuba-moo
authored andcommitted
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 <lorenzo@kernel.org> Link: https://patch.msgid.link/20260527-airoha-eth-multi-serdes-preliminary-v1-6-ec6ed73ef7fc@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 962c17d commit 842a7ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/net/ethernet/airoha/airoha_eth.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@ static int airoha_dev_set_macaddr(struct net_device *netdev, void *p)
17961796
return 0;
17971797
}
17981798

1799-
static int airoha_set_gdm2_loopback(struct airoha_gdm_dev *dev)
1799+
static int airoha_enable_gdm2_loopback(struct airoha_gdm_dev *dev)
18001800
{
18011801
struct airoha_gdm_port *port = dev->port;
18021802
struct airoha_eth *eth = dev->eth;
@@ -1877,7 +1877,7 @@ static int airoha_dev_init(struct net_device *netdev)
18771877
if (!eth->ports[1]) {
18781878
int err;
18791879

1880-
err = airoha_set_gdm2_loopback(dev);
1880+
err = airoha_enable_gdm2_loopback(dev);
18811881
if (err)
18821882
return err;
18831883
}

0 commit comments

Comments
 (0)