mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
net: phy: aquantia: 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) Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
This commit is contained in:
parent
b0b77fdf3d
commit
5914bec3f0
1 changed files with 9 additions and 9 deletions
|
@ -598,7 +598,7 @@ int aquantia_startup(struct phy_device *phydev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
struct phy_driver aq1202_driver = {
|
||||
static struct phy_driver aq1202_driver = {
|
||||
.name = "Aquantia AQ1202",
|
||||
.uid = 0x3a1b445,
|
||||
.mask = 0xfffffff0,
|
||||
|
@ -611,7 +611,7 @@ struct phy_driver aq1202_driver = {
|
|||
.shutdown = &gen10g_shutdown,
|
||||
};
|
||||
|
||||
struct phy_driver aq2104_driver = {
|
||||
static struct phy_driver aq2104_driver = {
|
||||
.name = "Aquantia AQ2104",
|
||||
.uid = 0x3a1b460,
|
||||
.mask = 0xfffffff0,
|
||||
|
@ -624,7 +624,7 @@ struct phy_driver aq2104_driver = {
|
|||
.shutdown = &gen10g_shutdown,
|
||||
};
|
||||
|
||||
struct phy_driver aqr105_driver = {
|
||||
static struct phy_driver aqr105_driver = {
|
||||
.name = "Aquantia AQR105",
|
||||
.uid = 0x3a1b4a2,
|
||||
.mask = 0xfffffff0,
|
||||
|
@ -638,7 +638,7 @@ struct phy_driver aqr105_driver = {
|
|||
.data = AQUANTIA_GEN1,
|
||||
};
|
||||
|
||||
struct phy_driver aqr106_driver = {
|
||||
static struct phy_driver aqr106_driver = {
|
||||
.name = "Aquantia AQR106",
|
||||
.uid = 0x3a1b4d0,
|
||||
.mask = 0xfffffff0,
|
||||
|
@ -651,7 +651,7 @@ struct phy_driver aqr106_driver = {
|
|||
.shutdown = &gen10g_shutdown,
|
||||
};
|
||||
|
||||
struct phy_driver aqr107_driver = {
|
||||
static struct phy_driver aqr107_driver = {
|
||||
.name = "Aquantia AQR107",
|
||||
.uid = 0x3a1b4e0,
|
||||
.mask = 0xfffffff0,
|
||||
|
@ -665,7 +665,7 @@ struct phy_driver aqr107_driver = {
|
|||
.data = AQUANTIA_GEN2,
|
||||
};
|
||||
|
||||
struct phy_driver aqr112_driver = {
|
||||
static struct phy_driver aqr112_driver = {
|
||||
.name = "Aquantia AQR112",
|
||||
.uid = 0x3a1b660,
|
||||
.mask = 0xfffffff0,
|
||||
|
@ -679,7 +679,7 @@ struct phy_driver aqr112_driver = {
|
|||
.data = AQUANTIA_GEN3,
|
||||
};
|
||||
|
||||
struct phy_driver aqr113c_driver = {
|
||||
static struct phy_driver aqr113c_driver = {
|
||||
.name = "Aquantia AQR113C",
|
||||
.uid = 0x31c31c12,
|
||||
.mask = 0xfffffff0,
|
||||
|
@ -693,7 +693,7 @@ struct phy_driver aqr113c_driver = {
|
|||
.data = AQUANTIA_GEN3,
|
||||
};
|
||||
|
||||
struct phy_driver aqr405_driver = {
|
||||
static struct phy_driver aqr405_driver = {
|
||||
.name = "Aquantia AQR405",
|
||||
.uid = 0x3a1b4b2,
|
||||
.mask = 0xfffffff0,
|
||||
|
@ -707,7 +707,7 @@ struct phy_driver aqr405_driver = {
|
|||
.data = AQUANTIA_GEN1,
|
||||
};
|
||||
|
||||
struct phy_driver aqr412_driver = {
|
||||
static struct phy_driver aqr412_driver = {
|
||||
.name = "Aquantia AQR412",
|
||||
.uid = 0x3a1b710,
|
||||
.mask = 0xfffffff0,
|
||||
|
|
Loading…
Reference in a new issue