From fa2fbe4a981a70866d20cee62af0d89eb6b6027e Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Fri, 25 Jul 2014 18:30:31 +0100 Subject: [PATCH] regmap: Allow regmap_get_device() to be used by modules Signed-off-by: Mark Brown --- drivers/base/regmap/regmap.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5