projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3e9b7
)
net: usb: lan78xx: make struct fphy_status static const
author
Heiner Kallweit
<hkallweit1@gmail.com>
Tue, 10 Jun 2025 20:58:15 +0000
(22:58 +0200)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 11 Jun 2025 21:13:12 +0000
(14:13 -0700)
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>
drivers/net/usb/lan78xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/lan78xx.c
b/drivers/net/usb/lan78xx.c
index 759dab980a09aea9d49e9796ba2d20bcc1299b84..17c23eada645fa70c5444cde0fd5a265f9c824a2 100644
(file)
--- a/
drivers/net/usb/lan78xx.c
+++ b/
drivers/net/usb/lan78xx.c
@@
-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 = {
+ st
atic const st
ruct fixed_phy_status fphy_status = {
.link = 1,
.speed = SPEED_1000,
.duplex = DUPLEX_FULL,