summaryrefslogtreecommitdiff
path: root/drivers/reset/sti-reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/reset/sti-reset.c')
-rw-r--r--drivers/reset/sti-reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/sti-reset.c b/drivers/reset/sti-reset.c
index 5d70e20c35..d8cc485ce6 100644
--- a/drivers/reset/sti-reset.c
+++ b/drivers/reset/sti-reset.c
@@ -217,7 +217,7 @@ phys_addr_t sti_reset_get_regmap(const char *compatible)
return -ENODEV;
}
- return regmap->base;
+ return regmap->ranges[0].start;
}
static int sti_reset_program_hw(struct reset_ctl *reset_ctl, int assert)