]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regmap: Prepare LZO cache for variable block sizes
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Oct 2011 23:37:00 +0000 (00:37 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 18 Oct 2011 12:15:00 +0000 (13:15 +0100)
commita08448146ddb8d766f9dc3dbaa01dd59e0387bd8
tree0838d36b631debce90d24091a72ead9e4bbc8a69
parent7cccbdc84487616c3dbe493b04bfa1f362f4bc56
regmap: Prepare LZO cache for variable block sizes

Give regcache_lzo_block_count() a copy of the map so that when we decide
we want to make the LZO cache more controllable we can more easily do so.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
drivers/base/regmap/regcache-lzo.c