From: Nicolas Boichat Date: Wed, 8 Jul 2015 06:30:16 +0000 (+0800) Subject: mfd: vexpress: Add parentheses around bridge->ops->regmap_init call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bbb4d872c795ab3a1c0610f69d05fcd93aef83f6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown --- 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;