regmap: Allow regmap_get_device() to be used by modules

Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Mark Brown 2014-07-25 18:30:31 +01:00
parent 8d7d3972a9
commit fa2fbe4a98

View File

@ -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,