fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / arch / arm / mach-pxa / leds-mainstone.c
index 8403f67..065293e 100644 (file)
  * published by the Free Software Foundation.
  */
 
-#include <linux/config.h>
 #include <linux/init.h>
 
 #include <asm/hardware.h>
 #include <asm/leds.h>
 #include <asm/system.h>
 
+#include <asm/arch/pxa-regs.h>
 #include <asm/arch/mainstone.h>
 
 #include "leds.h"
@@ -84,7 +84,7 @@ void mainstone_leds_event(led_event_t evt)
                break;
 
        case led_green_on:
-               hw_led_state |= D21;;
+               hw_led_state |= D21;
                break;
 
        case led_green_off:
@@ -92,7 +92,7 @@ void mainstone_leds_event(led_event_t evt)
                break;
 
        case led_amber_on:
-               hw_led_state |= D22;;
+               hw_led_state |= D22;
                break;
 
        case led_amber_off:
@@ -100,7 +100,7 @@ void mainstone_leds_event(led_event_t evt)
                break;
 
        case led_red_on:
-               hw_led_state |= D23;;
+               hw_led_state |= D23;
                break;
 
        case led_red_off: