File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
drivers/net/ethernet/microchip Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -474,13 +474,13 @@ static struct regmap_config regcfg = {
474
474
.unlock = regmap_unlock_mutex ,
475
475
};
476
476
477
- static struct regmap_bus regmap_encx24j600 = {
477
+ static const struct regmap_bus regmap_encx24j600 = {
478
478
.write = regmap_encx24j600_write ,
479
479
.read = regmap_encx24j600_read ,
480
480
.reg_update_bits = regmap_encx24j600_reg_update_bits ,
481
481
};
482
482
483
- static struct regmap_config phycfg = {
483
+ static const struct regmap_config phycfg = {
484
484
.name = "phy" ,
485
485
.reg_bits = 8 ,
486
486
.val_bits = 16 ,
@@ -492,7 +492,7 @@ static struct regmap_config phycfg = {
492
492
.volatile_reg = encx24j600_phymap_volatile ,
493
493
};
494
494
495
- static struct regmap_bus phymap_encx24j600 = {
495
+ static const struct regmap_bus phymap_encx24j600 = {
496
496
.reg_write = regmap_encx24j600_phy_reg_write ,
497
497
.reg_read = regmap_encx24j600_phy_reg_read ,
498
498
};
You can’t perform that action at this time.
0 commit comments