diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2026-05-27 13:21:20 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-02 23:24:26 +0300 |
| commit | 842a7ee50d68d66afef4536bf3abdaaed2e0e5f5 (patch) | |
| tree | a0b616a5450721ca87ba4c7a9132770e05b799a0 | |
| parent | 962c17dd287887aa87a6f30d64239d7e1e4e05fa (diff) | |
| download | linux-842a7ee50d68d66afef4536bf3abdaaed2e0e5f5.tar.xz | |
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>
| -rw-r--r-- | drivers/net/ethernet/airoha/airoha_eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
