We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8cfda40 + e4b5a39 commit 77dc111Copy full SHA for 77dc111
drivers/bus/sunxi-rsb.c
@@ -457,7 +457,7 @@ static void regmap_sunxi_rsb_free_ctx(void *context)
457
kfree(ctx);
458
}
459
460
-static struct regmap_bus regmap_sunxi_rsb = {
+static const struct regmap_bus regmap_sunxi_rsb = {
461
.reg_write = regmap_sunxi_rsb_reg_write,
462
.reg_read = regmap_sunxi_rsb_reg_read,
463
.free_context = regmap_sunxi_rsb_free_ctx,
drivers/soc/sunxi/sunxi_sram.c
@@ -344,7 +344,7 @@ static void sunxi_sram_unlock(void *_lock)
344
spin_unlock(lock);
345
346
347
-static struct regmap_config sunxi_sram_regmap_config = {
+static const struct regmap_config sunxi_sram_regmap_config = {
348
.reg_bits = 32,
349
.val_bits = 32,
350
.reg_stride = 4,
0 commit comments