diff options
| author | Tom Rini <[email protected]> | 2025-10-10 11:36:33 -0600 |
|---|---|---|
| committer | Jerome Forissier <[email protected]> | 2025-10-22 14:28:33 +0200 |
| commit | 85c2c2c517ac8a6bba406bfd84fa11b26bbcb9aa (patch) | |
| tree | 9a4014f74752df32719951952f462936ac886837 /doc/develop/bootstd/script.rst | |
| parent | 81e5708cc2c865df606e49aed5415adb2a662171 (diff) | |
net: phy: Make driver overloading get_phy_id depend on !COMPILE_TEST
With commit 597fe041a85f ("net/phy: enable get_phy_id redefinable") we
made get_phy_id a public but weak function, so that PHY drivers that had
required non-standard ways of getting the PHY ID could be supported.
However, overloading a weak function multiple times is (rightly) a link
error. At this point, we have two PHYs which make use of this feature,
so make both of them only available when COMPILE_TEST is unset, as part
of being able to support "allyesconfig" in the future.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'doc/develop/bootstd/script.rst')
0 files changed, 0 insertions, 0 deletions
