diff options
author | Tom Rini <trini@konsulko.com> | 2020-09-17 09:53:57 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-17 09:53:57 -0400 |
commit | 9de3126e80cdac7ee15b6671065a952184533dda (patch) | |
tree | 202c407e31e0f7d60c508cdaadb4b2e6af764aae /include/phy.h | |
parent | b01ba776c9ae138732d85a543878d8456e0b4b30 (diff) | |
parent | c6963fb88ffb60e42137dc60100ee1a7c6f91beb (diff) |
Merge branch '2020-09-16-assorted-fixes'
- Assorted bug fixes
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 1dbbf65111..cbdb10d6fc 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; } |