summaryrefslogtreecommitdiffstats
path: root/drivers/leds/led-core.c
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@canonical.com>2012-06-15 16:15:27 +0200
committerBryan Wu <bryan.wu@canonical.com>2012-07-24 01:52:35 +0200
commit20c0e6b8787c5289202f688b6be78dff4568c1df (patch)
tree9be1c6ed2821b057608dcca456e852e0310a4664 /drivers/leds/led-core.c
parentleds: correct trivial type in drivers/leds/Kconfig (diff)
downloadlinux-20c0e6b8787c5289202f688b6be78dff4568c1df.tar.xz
linux-20c0e6b8787c5289202f688b6be78dff4568c1df.zip
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-core.c')
-rw-r--r--drivers/leds/led-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c
index 8a09c5fc2a6d..2ab05af3de31 100644
--- a/drivers/leds/led-core.c
+++ b/drivers/leds/led-core.c
@@ -53,7 +53,7 @@ static void led_set_software_blink(struct led_classdev *led_cdev,
}
-void led_blink_setup(struct led_classdev *led_cdev,
+static void led_blink_setup(struct led_classdev *led_cdev,
unsigned long *delay_on,
unsigned long *delay_off)
{