aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/regmap/internal.h
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-02-03 10:01:18 -0800
committerMark Brown <broonie@kernel.org>2015-02-04 20:48:11 +0000
commit3c174d29263b1954171cf857a9bf59dcbe527875 (patch)
treea3dc10376a32c792710505f408ae9145d2d1ce8d /drivers/base/regmap/internal.h
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
downloadlinux-linaro-stable-3c174d29263b1954171cf857a9bf59dcbe527875.tar.gz
regmap: Export regmap_get_val_endian
We'll need to call it from regmap-i2c.c, which can be built as module. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base/regmap/internal.h')
-rw-r--r--drivers/base/regmap/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h
index 0da5865df5b1..c49a79edae52 100644
--- a/drivers/base/regmap/internal.h
+++ b/drivers/base/regmap/internal.h
@@ -233,6 +233,10 @@ int _regmap_raw_write(struct regmap *map, unsigned int reg,
void regmap_async_complete_cb(struct regmap_async *async, int ret);
+enum regmap_endian regmap_get_val_endian(struct device *dev,
+ const struct regmap_bus *bus,
+ const struct regmap_config *config);
+
extern struct regcache_ops regcache_rbtree_ops;
extern struct regcache_ops regcache_lzo_ops;
extern struct regcache_ops regcache_flat_ops;