aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-27 09:35:33 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-27 09:35:33 -0500
commita0941e562e8008804f9fe4400315ceb164752fac (patch)
tree292189d45e7bedeecec74c4b23d69ea3e7fb4b0c /drivers/base
parent4d4cfd1656b5f6c88eae51c40741a695b108b006 (diff)
regmap: Fix x86_64 breakage
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/regmap/regcache-lzo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache-lzo.c b/drivers/base/regmap/regcache-lzo.c
index 5e964e9b2bab..f0f04060a4ec 100644
--- a/drivers/base/regmap/regcache-lzo.c
+++ b/drivers/base/regmap/regcache-lzo.c
@@ -341,7 +341,7 @@ static int regcache_lzo_sync(struct regmap *map, unsigned int min,
341 341
342 lzo_blocks = map->cache; 342 lzo_blocks = map->cache;
343 i = min; 343 i = min;
344 for_each_set_bit_from(i, lzo_blocks[0]->sync_bmp, 344 for_each_set_bit_cont(i, lzo_blocks[0]->sync_bmp,
345 lzo_blocks[0]->sync_bmp_nbits) { 345 lzo_blocks[0]->sync_bmp_nbits) {
346 if (i > max) 346 if (i > max)
347 continue; 347 continue;