diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2015-07-08 14:30:16 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-07 14:50:59 +0100 |
commit | bbb4d872c795ab3a1c0610f69d05fcd93aef83f6 (patch) | |
tree | e70a1bed76c25cf9a9fc8bb12fa388cfe94d919c /drivers/bus | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) | |
download | lwn-bbb4d872c795ab3a1c0610f69d05fcd93aef83f6.tar.gz lwn-bbb4d872c795ab3a1c0610f69d05fcd93aef83f6.zip |
mfd: vexpress: Add parentheses around bridge->ops->regmap_init call
regmap_init(...) is a macro since commit
"regmap: Use different lockdep class for each regmap init call".
That same name is used as a function pointer: prevent its expansion
by adding parentheses around the function pointer.
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/bus')
-rw-r--r-- | drivers/bus/vexpress-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/vexpress-config.c b/drivers/bus/vexpress-config.c index a64763b6b5fd..6575c0fe6a4e 100644 --- a/drivers/bus/vexpress-config.c +++ b/drivers/bus/vexpress-config.c @@ -107,7 +107,7 @@ struct regmap *devm_regmap_init_vexpress_config(struct device *dev) if (!res) return ERR_PTR(-ENOMEM); - regmap = bridge->ops->regmap_init(dev, bridge->context); + regmap = (bridge->ops->regmap_init)(dev, bridge->context); if (IS_ERR(regmap)) { devres_free(res); return regmap; |