diff options
Diffstat (limited to 'drivers/leds/leds-h1940.c')
-rw-r--r-- | drivers/leds/leds-h1940.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/leds/leds-h1940.c b/drivers/leds/leds-h1940.c index bcec42230389..73c705021686 100644 --- a/drivers/leds/leds-h1940.c +++ b/drivers/leds/leds-h1940.c | |||
@@ -23,7 +23,8 @@ | |||
23 | /* | 23 | /* |
24 | * Green led. | 24 | * Green led. |
25 | */ | 25 | */ |
26 | void h1940_greenled_set(struct led_classdev *led_dev, enum led_brightness value) | 26 | static void h1940_greenled_set(struct led_classdev *led_dev, |
27 | enum led_brightness value) | ||
27 | { | 28 | { |
28 | switch (value) { | 29 | switch (value) { |
29 | case LED_HALF: | 30 | case LED_HALF: |
@@ -52,7 +53,8 @@ static struct led_classdev h1940_greenled = { | |||
52 | /* | 53 | /* |
53 | * Red led. | 54 | * Red led. |
54 | */ | 55 | */ |
55 | void h1940_redled_set(struct led_classdev *led_dev, enum led_brightness value) | 56 | static void h1940_redled_set(struct led_classdev *led_dev, |
57 | enum led_brightness value) | ||
56 | { | 58 | { |
57 | switch (value) { | 59 | switch (value) { |
58 | case LED_HALF: | 60 | case LED_HALF: |
@@ -82,7 +84,8 @@ static struct led_classdev h1940_redled = { | |||
82 | * Blue led. | 84 | * Blue led. |
83 | * (it can only be blue flashing led) | 85 | * (it can only be blue flashing led) |
84 | */ | 86 | */ |
85 | void h1940_blueled_set(struct led_classdev *led_dev, enum led_brightness value) | 87 | static void h1940_blueled_set(struct led_classdev *led_dev, |
88 | enum led_brightness value) | ||
86 | { | 89 | { |
87 | if (value) { | 90 | if (value) { |
88 | /* flashing Blue */ | 91 | /* flashing Blue */ |