summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-02-04 17:16:34 -0300
committerDavid S. Miller <davem@davemloft.net>2024-02-07 13:40:27 +0000
commit56b93cd358b304b2d1945c0330dffe8f872bc0d3 (patch)
tree25147a4ecf9ce2cef9bf68a0ce43fb2c03d1217a /drivers/net/phy/phy_device.c
parent59d6bccebe5c747d6f4dcbc4862ad7b52571b3fc (diff)
netdevsim: make nsim_bus const
Now that the driver core can properly handle constant struct bus_type, move the nsim_bus variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
0 files changed, 0 insertions, 0 deletions