aboutsummaryrefslogtreecommitdiff
path: root/drivers/bus/vexpress-config.c
diff options
context:
space:
mode:
authorNicolas Boichat2015-07-08 14:30:16 +0800
committerMark Brown2015-08-07 14:50:59 +0100
commitbbb4d872c795ab3a1c0610f69d05fcd93aef83f6 (patch)
treee70a1bed76c25cf9a9fc8bb12fa388cfe94d919c /drivers/bus/vexpress-config.c
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
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/vexpress-config.c')
-rw-r--r--drivers/bus/vexpress-config.c2
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;