summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regmap-sccb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/regmap/regmap-sccb.c')
-rw-r--r--drivers/base/regmap/regmap-sccb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-sccb.c b/drivers/base/regmap/regmap-sccb.c
index 597042e2d009..986af26d88c2 100644
--- a/drivers/base/regmap/regmap-sccb.c
+++ b/drivers/base/regmap/regmap-sccb.c
@@ -80,7 +80,7 @@ static int regmap_sccb_write(void *context, unsigned int reg, unsigned int val)
return i2c_smbus_write_byte_data(i2c, reg, val);
}
-static struct regmap_bus regmap_sccb_bus = {
+static const struct regmap_bus regmap_sccb_bus = {
.reg_write = regmap_sccb_write,
.reg_read = regmap_sccb_read,
};