summaryrefslogtreecommitdiff
path: root/drivers/base/regmap/regmap-sdw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/regmap/regmap-sdw.c')
-rw-r--r--drivers/base/regmap/regmap-sdw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-sdw.c b/drivers/base/regmap/regmap-sdw.c
index 966de8a136d9..81b0327f719d 100644
--- a/drivers/base/regmap/regmap-sdw.c
+++ b/drivers/base/regmap/regmap-sdw.c
@@ -30,7 +30,7 @@ static int regmap_sdw_read(void *context, unsigned int reg, unsigned int *val)
return 0;
}
-static struct regmap_bus regmap_sdw = {
+static const struct regmap_bus regmap_sdw = {
.reg_read = regmap_sdw_read,
.reg_write = regmap_sdw_write,
.reg_format_endian_default = REGMAP_ENDIAN_LITTLE,