aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-07-25 18:30:31 +0100
committerMark Brown <broonie@linaro.org>2014-07-25 18:30:31 +0100
commitfa2fbe4a981a70866d20cee62af0d89eb6b6027e (patch)
tree0a8f60dab3f96c1a521ded1a7a795cfcc115282b /drivers/base
parentregmap: Add regmap_get_device (diff)
downloadlinux-dev-fa2fbe4a981a70866d20cee62af0d89eb6b6027e.tar.xz
linux-dev-fa2fbe4a981a70866d20cee62af0d89eb6b6027e.zip
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,