regmap: Fix x86_64 breakage
Mark Brown [Mon, 27 Feb 2012 14:35:33 +0000 (14:35 +0000)]
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit a0941e562e8008804f9fe4400315ceb164752fac)

Change-Id: Ic582509f74612ddc48f854116553e2f40954e4ae
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/96491
Reviewed-by: Automatic_Commit_Validation_User

drivers/base/regmap/regcache-lzo.c

index 483b06d..38f970a 100644 (file)
@@ -342,7 +342,7 @@ static int regcache_lzo_sync(struct regmap *map, unsigned int min,
 
        lzo_blocks = map->cache;
        i = min;
-       for_each_set_bit_from(i, lzo_blocks[0]->sync_bmp,
+       for_each_set_bit_cont(i, lzo_blocks[0]->sync_bmp,
                              lzo_blocks[0]->sync_bmp_nbits) {
                if (i > max)
                        continue;