mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-07 13:41:54 +02:00
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:
parent
3309c58a0e
commit
97c50ab8db
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user