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>

drivers/base/regmap/regcache-lzo.c

index 5e964e9..f0f0406 100644 (file)
@@ -341,7 +341,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;