regmap: Export regmap_get_val_endian
[firefly-linux-kernel-4.4.55.git] / drivers / base / regmap / internal.h
index 0da5865df5b1b4f092fef5652814e7cc96b8993e..c49a79edae52c66518ab4991300455cf53cecab3 100644 (file)
@@ -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;