diff options
author | Mark Brown <broonie@linaro.org> | 2014-07-25 13:30:31 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-25 13:30:31 -0400 |
commit | fa2fbe4a981a70866d20cee62af0d89eb6b6027e (patch) | |
tree | 0a8f60dab3f96c1a521ded1a7a795cfcc115282b /drivers/base | |
parent | 8d7d3972a9ae962bbf8ce49c83f4a40082708f69 (diff) |
regmap: Allow regmap_get_device() to be used by modules
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/regmap/regmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 5ba0263fce21..78f43fb2fe84 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c | |||
@@ -1084,6 +1084,7 @@ struct device *regmap_get_device(struct regmap *map) | |||
1084 | { | 1084 | { |
1085 | return map->dev; | 1085 | return map->dev; |
1086 | } | 1086 | } |
1087 | EXPORT_SYMBOL_GPL(regmap_get_device); | ||
1087 | 1088 | ||
1088 | static int _regmap_select_page(struct regmap *map, unsigned int *reg, | 1089 | static int _regmap_select_page(struct regmap *map, unsigned int *reg, |
1089 | struct regmap_range_node *range, | 1090 | struct regmap_range_node *range, |