diff options
| author | Christian Eggers <ceggers@arri.de> | 2024-07-15 15:30:50 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-15 18:49:59 +0300 |
| commit | f96eb1172ed8d74cfed7da92d2045ec64028cc38 (patch) | |
| tree | a240acf14dcd820b8e482904037ffd53fac0aed3 /include | |
| parent | cd9b6f4795e7002fa2fb51e6d172294e28453df3 (diff) | |
| download | linux-f96eb1172ed8d74cfed7da92d2045ec64028cc38.tar.xz | |
dsa: lan9303: consistent naming for PHY address parameter
Name it 'addr' instead of 'port' or 'phy'.
Signed-off-by: Christian Eggers <ceggers@arri.de>
Link: https://patch.msgid.link/20240715123050.21202-1-ceggers@arri.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/dsa/lan9303.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dsa/lan9303.h b/include/linux/dsa/lan9303.h index b4f22112ba75..3ce7cbcc37a3 100644 --- a/include/linux/dsa/lan9303.h +++ b/include/linux/dsa/lan9303.h @@ -5,8 +5,8 @@ struct lan9303; struct lan9303_phy_ops { /* PHY 1 and 2 access*/ - int (*phy_read)(struct lan9303 *chip, int port, int regnum); - int (*phy_write)(struct lan9303 *chip, int port, + int (*phy_read)(struct lan9303 *chip, int addr, int regnum); + int (*phy_write)(struct lan9303 *chip, int addr, int regnum, u16 val); }; |
