diff options
| author | Tom Rini <[email protected]> | 2020-09-21 14:25:37 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-09-21 14:25:37 -0400 |
| commit | 751b18b8a1b576aecf51faf22c2bb9e7ce70debd (patch) | |
| tree | 9339296afd74657deb93955cf5b187f9194d7b5d /include/phy.h | |
| parent | 3bacb5ee76eadc97c0606e1b408604d20db9a97d (diff) | |
| parent | ba2a0cbb053951ed6d36161989d38da724696b4d (diff) | |
Merge branch 'master' into next
Merge in v2020.10-rc5
Diffstat (limited to 'include/phy.h')
| -rw-r--r-- | include/phy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/phy.h b/include/phy.h index 1dbbf651113..cbdb10d6fce 100644 --- a/include/phy.h +++ b/include/phy.h @@ -205,7 +205,7 @@ static inline int phy_write(struct phy_device *phydev, int devad, int regnum, { struct mii_dev *bus = phydev->bus; - if (!bus || !bus->read) { + if (!bus || !bus->write) { debug("%s: No bus configured\n", __func__); return -1; } |
