From: Marek Vasut Date: Sun, 19 Mar 2023 17:02:39 +0000 (+0100) Subject: net: phy: cortina: Staticize PHY driver entries X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=97c50ab8db2721d56a516eb271e5faffde494482;p=u-boot.git net: phy: cortina: Staticize PHY driver entries These struct phy_driver ... instances are local to this source code file, staticize them. No functional change. Signed-off-by: Marek Vasut Acked-by: Michal Simek Tested-by: Michal Simek #microblaze (MANUAL_RELOC) --- diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c index 778d93e609..df5a73d611 100644 --- a/drivers/net/phy/cortina.c +++ b/drivers/net/phy/cortina.c @@ -382,7 +382,7 @@ int cs4223_startup(struct phy_device *phydev) return 0; } -struct phy_driver cs4340_driver = { +static struct phy_driver cs4340_driver = { .name = "Cortina CS4315/CS4340", .uid = PHY_UID_CS4340, .mask = 0xfffffff0, @@ -396,7 +396,7 @@ struct phy_driver cs4340_driver = { .shutdown = &gen10g_shutdown, }; -struct phy_driver cs4223_driver = { +static struct phy_driver cs4223_driver = { .name = "Cortina CS4223", .uid = PHY_UID_CS4223, .mask = 0x0ffff00f,