drivers/regulator/core.c:5345:28: warning: symbol 'regulator_lookup_init_data' was
not declared. Should it be static?
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 6a6c1f34d9d61..d8d2e0b18d0dc 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -5342,7 +5342,7 @@ static struct regulator_coupler generic_regulator_coupler = {
* and regulator name contained in @cfg and @desc. If so, a pointer to the
* embedded &struct regulator_init_data is returned. No matches returns NULL.
*/
-struct regulator_init_data *
+static struct regulator_init_data *
regulator_lookup_init_data(const struct regulator_desc *desc,
const struct regulator_config *cfg)
{
Show replies by date