diff options
| author | Marek Vasut <[email protected]> | 2023-03-19 18:02:39 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2023-04-07 14:18:48 +0200 |
| commit | 97c50ab8db2721d56a516eb271e5faffde494482 (patch) | |
| tree | 3426538c87dbdf0950ae6ff8aba3d73450260585 /drivers | |
| parent | 3309c58a0e616e501b43acbda77e9e1a02cb6c33 (diff) | |
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 <[email protected]>
Acked-by: Michal Simek <[email protected]>
Tested-by: Michal Simek <[email protected]> #microblaze (MANUAL_RELOC)
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/phy/cortina.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c index 778d93e609c..df5a73d6112 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, |
