summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regmap.c
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2011-09-29 11:39:07 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-29 12:19:45 +0200
commit4d2dc09538561eb8823c3c0072e6f5b868a5abe1 (patch)
tree2ff1ea9d4fd2180caebe80e95ed051e506b38436 /drivers/base/regmap/regmap.c
parentregmap: Fix lock used for regcache_cache_only() (diff)
downloadlinux-4d2dc09538561eb8823c3c0072e6f5b868a5abe1.tar.xz
linux-4d2dc09538561eb8823c3c0072e6f5b868a5abe1.zip
regmap: Make _regmap_write() global
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to '')
-rw-r--r--drivers/base/regmap/regmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
index 35964659a81d..d786ddcaf117 100644
--- a/drivers/base/regmap/regmap.c
+++ b/drivers/base/regmap/regmap.c
@@ -296,8 +296,8 @@ static int _regmap_raw_write(struct regmap *map, unsigned int reg,
return ret;
}
-static int _regmap_write(struct regmap *map, unsigned int reg,
- unsigned int val)
+int _regmap_write(struct regmap *map, unsigned int reg,
+ unsigned int val)
{
int ret;
BUG_ON(!map->format.format_write && !map->format.format_val);