summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/base/regmap/regcache-indexed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache-indexed.c b/drivers/base/regmap/regcache-indexed.c
index ff8b44ce044b..268497aee46d 100644
--- a/drivers/base/regmap/regcache-indexed.c
+++ b/drivers/base/regmap/regcache-indexed.c
@@ -41,7 +41,7 @@ static int regcache_indexed_write(struct regmap *map, unsigned int reg,
static int regcache_indexed_sync(struct regmap *map)
{
- int i;
+ unsigned int i;
int ret;
for (i = 0; i < map->num_reg_defaults; i++) {