summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/altera-a10sr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/altera-a10sr.c')
-rw-r--r--drivers/mfd/altera-a10sr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/altera-a10sr.c b/drivers/mfd/altera-a10sr.c
index 96e7d2cb7b89..400e0b51844b 100644
--- a/drivers/mfd/altera-a10sr.c
+++ b/drivers/mfd/altera-a10sr.c
@@ -108,7 +108,8 @@ static const struct regmap_config altr_a10sr_regmap_config = {
.cache_type = REGCACHE_NONE,
- .use_single_rw = true,
+ .use_single_read = true,
+ .use_single_write = true,
.read_flag_mask = 1,
.write_flag_mask = 0,