From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4726131747505875142==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] regulator: core: regulator_lookup_init_data can be static Date: Wed, 25 Aug 2021 11:57:18 +0800 Message-ID: <20210825035718.GA2663@a00af8f40b33> In-Reply-To: <20210824230620.1003828-2-djrscally@gmail.com> List-Id: --===============4726131747505875142== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/regulator/core.c:5345:28: warning: symbol 'regulator_lookup_init_da= ta' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- 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_cou= pler =3D { * and regulator name contained in @cfg and @desc. If so, a pointer to the * embedded &struct regulator_init_data is returned. No matches returns NU= LL. */ -struct regulator_init_data * +static struct regulator_init_data * regulator_lookup_init_data(const struct regulator_desc *desc, const struct regulator_config *cfg) { --===============4726131747505875142==--