Commit 1c5abf07 authored by Holger Freyther's avatar Holger Freyther Committed by Russell King

[ARM PATCH] 1598/1: [PATCH] 4/10 Simpad changes

Patch from Holger Freyther
parent 21d459f6
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <asm/hardware.h> #include <asm/hardware.h>
#include <asm/leds.h> #include <asm/leds.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/arch/simpad.h>
#include "leds.h" #include "leds.h"
......
...@@ -41,6 +41,8 @@ sa1100_leds_init(void) ...@@ -41,6 +41,8 @@ sa1100_leds_init(void)
leds_event = adsbitsy_leds_event; leds_event = adsbitsy_leds_event;
if (machine_is_pt_system3()) if (machine_is_pt_system3())
leds_event = system3_leds_event; leds_event = system3_leds_event;
if (machine_is_simpad())
leds_event = simpad_leds_event; /* what about machine registry? including led, apm... -zecke */
leds_event(led_start); leds_event(led_start);
return 0; return 0;
......
...@@ -11,3 +11,4 @@ extern void pfs168_leds_event(led_event_t evt); ...@@ -11,3 +11,4 @@ extern void pfs168_leds_event(led_event_t evt);
extern void graphicsmaster_leds_event(led_event_t evt); extern void graphicsmaster_leds_event(led_event_t evt);
extern void adsbitsy_leds_event(led_event_t evt); extern void adsbitsy_leds_event(led_event_t evt);
extern void system3_leds_event(led_event_t evt); extern void system3_leds_event(led_event_t evt);
extern void simpad_leds_event(led_event_t evt);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment