Commit 4d2dc095 authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by Mark Brown

regmap: Make _regmap_write() global

Signed-off-by: default avatarDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 2cd148f1
...@@ -91,6 +91,9 @@ bool regmap_readable(struct regmap *map, unsigned int reg); ...@@ -91,6 +91,9 @@ bool regmap_readable(struct regmap *map, unsigned int reg);
bool regmap_volatile(struct regmap *map, unsigned int reg); bool regmap_volatile(struct regmap *map, unsigned int reg);
bool regmap_precious(struct regmap *map, unsigned int reg); bool regmap_precious(struct regmap *map, unsigned int reg);
int _regmap_write(struct regmap *map, unsigned int reg,
unsigned int val);
#ifdef CONFIG_DEBUG_FS #ifdef CONFIG_DEBUG_FS
extern void regmap_debugfs_initcall(void); extern void regmap_debugfs_initcall(void);
extern void regmap_debugfs_init(struct regmap *map); extern void regmap_debugfs_init(struct regmap *map);
......
...@@ -296,7 +296,7 @@ static int _regmap_raw_write(struct regmap *map, unsigned int reg, ...@@ -296,7 +296,7 @@ static int _regmap_raw_write(struct regmap *map, unsigned int reg,
return ret; return ret;
} }
static int _regmap_write(struct regmap *map, unsigned int reg, int _regmap_write(struct regmap *map, unsigned int reg,
unsigned int val) unsigned int val)
{ {
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment