summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-29 14:58:20 +0300
committerTom Rini <trini@konsulko.com>2021-09-29 14:58:20 +0300
commit6eecaf5d0f6b9a500dd5798f1f2bc8296bcfe158 (patch)
tree1307de30a7d4cc6e5db9a3d78f583d288a5dbbdb /drivers/net/phy/phy.c
parentba17871884c10f64082ddba2f0632ec44a3ae490 (diff)
parent4df9f5e39fb224a4857c3411b4cbe419e4d339e8 (diff)
downloadu-boot-6eecaf5d0f6b9a500dd5798f1f2bc8296bcfe158.tar.xz
Merge branch 'network_master' of https://source.denx.de/u-boot/custodians/u-boot-net into next
- Fix some non-NULL terminated strings in the networking subsystem - net: tsec: Mark tsec_get_interface as __maybe_unused
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r--drivers/net/phy/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 69acb69460..c9fc20855b 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -463,7 +463,7 @@ static struct phy_driver genphy_driver = {
.shutdown = genphy_shutdown,
};
-int genphy_init(void)
+static int genphy_init(void)
{
return phy_register(&genphy_driver);
}