linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: da9063: Statize da9063_ldo_lim_event
@ 2013-09-01  4:19 Axel Lin
  2013-09-01 12:44 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-09-01  4:19 UTC (permalink / raw)
  To: Mark Brown; +Cc: Krystian Garbaciak, Philipp Zabel, Liam Girdwood, linux-kernel

da9063_ldo_lim_event() is only referenced in this driver, make it static.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/regulator/da9063-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regulator.c
index 139ad45..1a78163 100644
--- a/drivers/regulator/da9063-regulator.c
+++ b/drivers/regulator/da9063-regulator.c
@@ -592,7 +592,7 @@ static struct da9063_dev_model regulators_models[] = {
 };
 
 /* Regulator interrupt handlers */
-irqreturn_t da9063_ldo_lim_event(int irq, void *data)
+static irqreturn_t da9063_ldo_lim_event(int irq, void *data)
 {
 	struct da9063_regulators *regulators = data;
 	struct da9063 *hw = regulators->regulator[0].hw;
-- 
1.8.1.2




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] regulator: da9063: Statize da9063_ldo_lim_event
  2013-09-01  4:19 [PATCH] regulator: da9063: Statize da9063_ldo_lim_event Axel Lin
@ 2013-09-01 12:44 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-09-01 12:44 UTC (permalink / raw)
  To: Axel Lin; +Cc: Krystian Garbaciak, Philipp Zabel, Liam Girdwood, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

On Sun, Sep 01, 2013 at 12:19:51PM +0800, Axel Lin wrote:
> da9063_ldo_lim_event() is only referenced in this driver, make it static.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-01 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-01  4:19 [PATCH] regulator: da9063: Statize da9063_ldo_lim_event Axel Lin
2013-09-01 12:44 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).