summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-07-25 21:30:31 +0400
committerMark Brown <broonie@linaro.org>2014-07-25 21:30:31 +0400
commitfa2fbe4a981a70866d20cee62af0d89eb6b6027e (patch)
tree0a8f60dab3f96c1a521ded1a7a795cfcc115282b /drivers/base
parent8d7d3972a9ae962bbf8ce49c83f4a40082708f69 (diff)
downloadlinux-fa2fbe4a981a70866d20cee62af0d89eb6b6027e.tar.xz
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.c1
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)
{
return map->dev;
}
+EXPORT_SYMBOL_GPL(regmap_get_device);
static int _regmap_select_page(struct regmap *map, unsigned int *reg,
struct regmap_range_node *range,