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 <marek.vasut+renesas@mailbox.org>
Acked-by: Michal Simek <michal.simek@amd.com>
Tested-by: Michal Simek <michal.simek@amd.com> #microblaze (MANUAL_RELOC)
This commit is contained in:
Marek Vasut 2023-03-19 18:02:39 +01:00
parent 3309c58a0e
commit 97c50ab8db

View File

@ -382,7 +382,7 @@ int cs4223_startup(struct phy_device *phydev)
return 0; return 0;
} }
struct phy_driver cs4340_driver = { static struct phy_driver cs4340_driver = {
.name = "Cortina CS4315/CS4340", .name = "Cortina CS4315/CS4340",
.uid = PHY_UID_CS4340, .uid = PHY_UID_CS4340,
.mask = 0xfffffff0, .mask = 0xfffffff0,
@ -396,7 +396,7 @@ struct phy_driver cs4340_driver = {
.shutdown = &gen10g_shutdown, .shutdown = &gen10g_shutdown,
}; };
struct phy_driver cs4223_driver = { static struct phy_driver cs4223_driver = {
.name = "Cortina CS4223", .name = "Cortina CS4223",
.uid = PHY_UID_CS4223, .uid = PHY_UID_CS4223,
.mask = 0x0ffff00f, .mask = 0x0ffff00f,