Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105590
b: refs/heads/master
c: dd1160d
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks authored and Richard Purdie committed Jul 23, 2008
1 parent 4345261 commit 7b98339
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 781a54e7664cc0089287a90d27086e9656ac68a1
refs/heads/master: dd1160dc1842ae172495a6da274a77e35c593ed8
9 changes: 6 additions & 3 deletions trunk/drivers/leds/leds-h1940.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
/*
* Green led.
*/
void h1940_greenled_set(struct led_classdev *led_dev, enum led_brightness value)
static void h1940_greenled_set(struct led_classdev *led_dev,
enum led_brightness value)
{
switch (value) {
case LED_HALF:
Expand Down Expand Up @@ -52,7 +53,8 @@ static struct led_classdev h1940_greenled = {
/*
* Red led.
*/
void h1940_redled_set(struct led_classdev *led_dev, enum led_brightness value)
static void h1940_redled_set(struct led_classdev *led_dev,
enum led_brightness value)
{
switch (value) {
case LED_HALF:
Expand Down Expand Up @@ -82,7 +84,8 @@ static struct led_classdev h1940_redled = {
* Blue led.
* (it can only be blue flashing led)
*/
void h1940_blueled_set(struct led_classdev *led_dev, enum led_brightness value)
static void h1940_blueled_set(struct led_classdev *led_dev,
enum led_brightness value)
{
if (value) {
/* flashing Blue */
Expand Down

0 comments on commit 7b98339

Please sign in to comment.