summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-27 14:35:33 +0000
committerSimone Willett <swillett@nvidia.com>2012-04-15 13:50:34 -0700
commitf11c9a96a6cf1228f02f7eb8f0bacc374ff156a2 (patch)
tree3c32ad9195b9193822b082d93331eea57182e3c8
parentfe5d7a370e86d9a3ba10e94f834bd3d2619d0f73 (diff)
regmap: Fix x86_64 breakage
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
-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 77dc53272289..8d0061569326 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,
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;