Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48909
b: refs/heads/master
c: da11d02
h: refs/heads/master
i:
  48907: 01d30a8
v: v3
  • Loading branch information
Andrew Victor authored and Russell King committed Feb 8, 2007
1 parent 40cd271 commit 5e0ea12
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 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: 3392b309dbd1f1f37454c412c2045448300cf374
refs/heads/master: da11d02c1da201840b94147d3366a32b41b151e1
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-at91/at91rm9200_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,10 @@ u8 at91_leds_timer;

void __init at91_init_leds(u8 cpu_led, u8 timer_led)
{
/* Enable GPIO to access the LEDs */
at91_set_gpio_output(cpu_led, 1);
at91_set_gpio_output(timer_led, 1);

at91_leds_cpu = cpu_led;
at91_leds_timer = timer_led;
}
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-at91/at91sam9260_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,10 @@ u8 at91_leds_timer;

void __init at91_init_leds(u8 cpu_led, u8 timer_led)
{
/* Enable GPIO to access the LEDs */
at91_set_gpio_output(cpu_led, 1);
at91_set_gpio_output(timer_led, 1);

at91_leds_cpu = cpu_led;
at91_leds_timer = timer_led;
}
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-at91/at91sam9261_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,10 @@ u8 at91_leds_timer;

void __init at91_init_leds(u8 cpu_led, u8 timer_led)
{
/* Enable GPIO to access the LEDs */
at91_set_gpio_output(cpu_led, 1);
at91_set_gpio_output(timer_led, 1);

at91_leds_cpu = cpu_led;
at91_leds_timer = timer_led;
}
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/arm/mach-at91/leds.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ static int __init leds_init(void)
if (!at91_leds_timer || !at91_leds_cpu)
return -ENODEV;

/* Enable PIO to access the LEDs */
at91_set_gpio_output(at91_leds_timer, 1);
at91_set_gpio_output(at91_leds_cpu, 1);

leds_event = at91_leds_event;

leds_event(led_start);
Expand Down

0 comments on commit 5e0ea12

Please sign in to comment.