]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: phy: teranetics: Staticize PHY driver entries
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 19 Mar 2023 17:02:40 +0000 (18:02 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 12:18:48 +0000 (14:18 +0200)
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)
drivers/net/phy/teranetics.c

index 60049c2074f31a3bd9b30ee83fccc538efd37be0..c402bad88c6c4d53ff7f601ff0bf7accc9c4d292 100644 (file)
@@ -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,