summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2015-07-08 14:30:16 +0800
committerMark Brown <broonie@kernel.org>2015-08-07 14:50:59 +0100
commitbbb4d872c795ab3a1c0610f69d05fcd93aef83f6 (patch)
treee70a1bed76c25cf9a9fc8bb12fa388cfe94d919c /drivers/bus
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
downloadop-kernel-dev-bbb4d872c795ab3a1c0610f69d05fcd93aef83f6.zip
op-kernel-dev-bbb4d872c795ab3a1c0610f69d05fcd93aef83f6.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/vexpress-config.c b/drivers/bus/vexpress-config.c
index a64763b..6575c0f 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;
OpenPOWER on IntegriCloud