diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-03-19 18:02:40 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-04-07 14:18:48 +0200 |
commit | d1569689c65467af4f96a4571bda2f56229b088f (patch) | |
tree | f8437029ded48e823deba9fc6f96c620971822c7 | |
parent | 97c50ab8db2721d56a516eb271e5faffde494482 (diff) | |
download | u-boot-d1569689c65467af4f96a4571bda2f56229b088f.zip u-boot-d1569689c65467af4f96a4571bda2f56229b088f.tar.gz u-boot-d1569689c65467af4f96a4571bda2f56229b088f.tar.bz2 |
net: phy: teranetics: 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)
-rw-r--r-- | drivers/net/phy/teranetics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/teranetics.c b/drivers/net/phy/teranetics.c index 60049c2..c402bad 100644 --- a/drivers/net/phy/teranetics.c +++ b/drivers/net/phy/teranetics.c @@ -90,7 +90,7 @@ int tn2020_startup(struct phy_device *phydev) return 0; } -struct phy_driver tn2020_driver = { +static struct phy_driver tn2020_driver = { .name = "Teranetics TN2020", .uid = PHY_UID_TN2020, .mask = 0xfffffff0, |