]> asedeno.scripts.mit.edu Git - linux.git/commit
regmap: add missing prototype for devm_init_slimbus
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 25 May 2018 13:50:36 +0000 (14:50 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 25 May 2018 17:35:59 +0000 (18:35 +0100)
commited24d568bd9190cee046ae64df5890494dea2ca4
tree0742871087d9296fe197cfac27e40e75721f2343
parentf15cd6d99198e9c15229aefec639a34a6e8174c6
regmap: add missing prototype for devm_init_slimbus

For some reason the devm variant of slimbus init is not added
into the header eventhough this __devm_regmap_init_slimbus()
is an exported function.

This patch adds this. This also fixes below warning in regmap-slimbus.c
regmap-slimbus.c:65:15: warning: symbol '__devm_regmap_init_slimbus'
 was not declared. Should it be static?
regmap-slimbus.c:65:16: warning: no previous prototype for
 '__devm_regmap_init_slimbus' [-Wmissing-prototypes]

Fixes: 7d6f7fb053ad ("regmap: add SLIMbus support")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regmap.h