patch-2.3.11 linux/arch/arm/kernel/leds-footbridge.c
Next file: linux/arch/arm/kernel/process.c
Previous file: linux/arch/arm/kernel/isa.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Mon Jul 19 09:52:57 1999
- Orig file:
v2.3.10/linux/arch/arm/kernel/leds-footbridge.c
- Orig date:
Thu Jun 17 01:11:35 1999
diff -u --recursive --new-file v2.3.10/linux/arch/arm/kernel/leds-footbridge.c linux/arch/arm/kernel/leds-footbridge.c
@@ -33,8 +33,9 @@
static char hw_led_state;
static spinlock_t leds_lock = SPIN_LOCK_UNLOCKED;
+extern spinlock_t gpio_lock;
-#ifdef CONFIG_ARCH_EBSA285
+#ifdef CONFIG_FOOTBRIDGE
static void __ebsa285_text ebsa285_leds_event(led_event_t evt)
{
@@ -226,8 +227,9 @@
init_leds_event(led_event_t evt))
{
switch (machine_arch_type) {
-#ifdef CONFIG_ARCH_EBSA285
+#ifdef CONFIG_FOOTBRIDGE
case MACH_TYPE_EBSA285:
+ case MACH_TYPE_CO285:
leds_event = ebsa285_leds_event;
break;
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)