summaryrefslogtreecommitdiffstats
path: root/drivers/leds/led-triggers.c
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@canonical.com>2012-06-15 22:15:27 +0800
committerBryan Wu <bryan.wu@canonical.com>2012-07-24 07:52:35 +0800
commit20c0e6b8787c5289202f688b6be78dff4568c1df (patch)
tree9be1c6ed2821b057608dcca456e852e0310a4664 /drivers/leds/led-triggers.c
parentdff67758c1c61c23a3f691675c67f1a3c9c47f7a (diff)
downloadop-kernel-dev-20c0e6b8787c5289202f688b6be78dff4568c1df.zip
op-kernel-dev-20c0e6b8787c5289202f688b6be78dff4568c1df.tar.gz
leds: fix sparse warnings due to missing static
drivers/leds/led-core.c:56:6: sparse: symbol 'led_blink_setup' was not declared. Should it be static? drivers/leds/led-triggers.c:233:6: sparse: symbol 'led_trigger_blink_setup' was not declared. Should it be static? Reported-by: Fengguang Wu <wfg@linux.intel.com> Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to 'drivers/leds/led-triggers.c')
-rw-r--r--drivers/leds/led-triggers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/led-triggers.c b/drivers/leds/led-triggers.c
index de1c59d..6157cbb 100644
--- a/drivers/leds/led-triggers.c
+++ b/drivers/leds/led-triggers.c
@@ -230,7 +230,7 @@ void led_trigger_event(struct led_trigger *trig,
}
EXPORT_SYMBOL_GPL(led_trigger_event);
-void led_trigger_blink_setup(struct led_trigger *trig,
+static void led_trigger_blink_setup(struct led_trigger *trig,
unsigned long *delay_on,
unsigned long *delay_off,
int oneshot,
OpenPOWER on IntegriCloud