Skip to content

Commit

Permalink
regmap: Allow regmap_get_device() to be used by modules
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Mark Brown committed Jul 25, 2014
1 parent 8d7d397 commit fa2fbe4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/base/regmap/regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fa2fbe4

Please sign in to comment.