[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5303623.mSi73Wy9ko@wuerfel>
Date: Wed, 31 Aug 2016 12:01:34 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Baoyou Xie <baoyou.xie@...aro.org>
Cc: lgirdwood@...il.com, broonie@...nel.org,
linux-kernel@...r.kernel.org, xie.baoyou@....com.cn
Subject: Re: [PATCH] regulator: hi6421: mark hi6421_regulator_ldo_get_optimum_mode() static
On Wednesday, August 31, 2016 5:30:31 PM CEST Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/regulator/hi6421-regulator.c:480:14: warning: no previous prototype for
> 'hi6421_regulator_ldo_get_optimum_mode' [-Wmissing-prototypes]
>
> In fact, this function is only used in the file in which it is
> declared and don't need a declaration, but can be made static.
> So this patch marks it 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
>
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists