summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regmap-slimbus.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-05-24 15:02:58 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-05-24 15:02:58 -0700
commit5d23bb5f25ed9cbf530b99640f4f17f59b79de9e (patch)
treebefaeb3c2eabab1e7769210eb71144a990e549e2 /drivers/base/regmap/regmap-slimbus.c
parent638971b77f1c4fb9997c674ad66d1b96f7931c2b (diff)
parent5c422f0b970d287efa864b8390a02face404db5d (diff)
downloadlinux-5d23bb5f25ed9cbf530b99640f4f17f59b79de9e.tar.bz2
Merge tag 'regmap-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap
Pull regmap updates from Mark Brown: "The main change here is Marek's addition of bulk read/write callbacks for individual regmaps, we've supported single register operations for a while but there's enough hardware out there which can use bulk equivalents to make it worthwhile" * tag 'regmap-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap: regmap: Add missing map->bus check regmap: Add bulk read/write callbacks into regmap_config regmap: cache: set max_register with reg_stride regmap: Constify static regmap_bus structs
Diffstat (limited to 'drivers/base/regmap/regmap-slimbus.c')
-rw-r--r--drivers/base/regmap/regmap-slimbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-slimbus.c b/drivers/base/regmap/regmap-slimbus.c
index 0968059f1ef5..8075db788b39 100644
--- a/drivers/base/regmap/regmap-slimbus.c
+++ b/drivers/base/regmap/regmap-slimbus.c
@@ -22,7 +22,7 @@ static int regmap_slimbus_read(void *context, const void *reg, size_t reg_size,
return slim_read(sdev, *(u16 *)reg, val_size, val);
}
-static struct regmap_bus regmap_slimbus_bus = {
+static const struct regmap_bus regmap_slimbus_bus = {
.write = regmap_slimbus_write,
.read = regmap_slimbus_read,
.reg_format_endian_default = REGMAP_ENDIAN_LITTLE,