Commit a17776be authored by Vladimir Oltean's avatar Vladimir Oltean Committed by Ramon Fried
Browse files

net: phy: genphy_init can be static

To avoid a warning with W=1 about this function not having a previous
prototype, declare it as static, because it is not used outside of this
translation module.
Signed-off-by: default avatarVladimir Oltean <>
Reviewed-by: Bin Meng's avatarBin Meng <>
Reviewed-by: Ramon Fried's avatarRamon Fried <>
parent 5ecdf0a5
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment