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:
Heiner Kallweit 2025-06-10 22:58:15 +02:00 committed by Jakub Kicinski
parent 1a3e9b7a6b
commit ae4e3334dd

View File

@ -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,