diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-01 22:49:45 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-08-26 20:22:11 -0400 |
commit | 2e87c09209cce10a0744eb28c25e93fe9fdc3e81 (patch) | |
tree | a4620b5196ee1886612c854cce8149e11366c240 | |
parent | 87aae1ea82f93f0f00cb955044ea1db3501cf233 (diff) |
leds: leds-ss4200: Staticize nasgpio_led_get_attr()
nasgpio_led_get_attr() is used only in this file.
Fix the following sparse warning:
drivers/leds/leds-ss4200.c:200:5: warning: symbol 'nasgpio_led_get_attr' was not declared. Should it be static?
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
-rw-r--r-- | drivers/leds/leds-ss4200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-ss4200.c b/drivers/leds/leds-ss4200.c index 64e204e714f6..51bb0ee22b34 100644 --- a/drivers/leds/leds-ss4200.c +++ b/drivers/leds/leds-ss4200.c | |||
@@ -197,7 +197,7 @@ static void nasgpio_led_set_attr(struct led_classdev *led_cdev, | |||
197 | spin_unlock(&nasgpio_gpio_lock); | 197 | spin_unlock(&nasgpio_gpio_lock); |
198 | } | 198 | } |
199 | 199 | ||
200 | u32 nasgpio_led_get_attr(struct led_classdev *led_cdev, u32 port) | 200 | static u32 nasgpio_led_get_attr(struct led_classdev *led_cdev, u32 port) |
201 | { | 201 | { |
202 | struct nasgpio_led *led = led_classdev_to_nasgpio_led(led_cdev); | 202 | struct nasgpio_led *led = led_classdev_to_nasgpio_led(led_cdev); |
203 | u32 gpio_in; | 203 | u32 gpio_in; |