diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-09-04 06:27:09 -0400 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-09-17 04:02:08 -0400 |
commit | 305c324f43a2601cbeb894c17b68c8a8f3c13387 (patch) | |
tree | 6a037930466a2842b0af579eb16d8eaeea936688 /drivers | |
parent | 98f9cc7ffcf2cb5b695208a4cd4927bb41c550f3 (diff) |
leds: aat1290: add 'static' modifier to init_mm_current_scale
Function init_mm_current_scale is used only locally. Make it static then.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/leds/leds-aat1290.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-aat1290.c b/drivers/leds/leds-aat1290.c index 8ceb47127a48..ac77d36b630c 100644 --- a/drivers/leds/leds-aat1290.c +++ b/drivers/leds/leds-aat1290.c | |||
@@ -331,7 +331,7 @@ static void aat1290_led_validate_mm_current(struct aat1290_led *led, | |||
331 | cfg->max_brightness = b + 1; | 331 | cfg->max_brightness = b + 1; |
332 | } | 332 | } |
333 | 333 | ||
334 | int init_mm_current_scale(struct aat1290_led *led, | 334 | static int init_mm_current_scale(struct aat1290_led *led, |
335 | struct aat1290_led_config_data *cfg) | 335 | struct aat1290_led_config_data *cfg) |
336 | { | 336 | { |
337 | int max_mm_current_percent[] = { 20, 22, 25, 28, 32, 36, 40, 45, 50, 56, | 337 | int max_mm_current_percent[] = { 20, 22, 25, 28, 32, 36, 40, 45, 50, 56, |