mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
net: usb: lan78xx: make struct fphy_status static const
Constify variable fphy_status and make it static. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Link: https://patch.msgid.link/0890f92e-a03d-4aa7-8bc8-94123d253f22@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
1a3e9b7a6b
commit
ae4e3334dd
|
|
@ -2630,7 +2630,7 @@ static int lan78xx_configure_flowcontrol(struct lan78xx_net *dev,
|
|||
*/
|
||||
static struct phy_device *lan78xx_register_fixed_phy(struct lan78xx_net *dev)
|
||||
{
|
||||
struct fixed_phy_status fphy_status = {
|
||||
static const struct fixed_phy_status fphy_status = {
|
||||
.link = 1,
|
||||
.speed = SPEED_1000,
|
||||
.duplex = DUPLEX_FULL,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user