fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / arch / arm / mach-pxa / leds-lubbock.c
index 03899b5..afbc669 100644 (file)
  * namespace collision.  Mostly adapted the Mainstone version.
  */
 
-#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/lubbock.h>
 
 #include "leds.h"
 
@@ -88,7 +89,7 @@ void lubbock_leds_event(led_event_t evt)
                break;
 
        case led_green_on:
-               hw_led_state |= D21;;
+               hw_led_state |= D21;
                break;
 
        case led_green_off:
@@ -96,7 +97,7 @@ void lubbock_leds_event(led_event_t evt)
                break;
 
        case led_amber_on:
-               hw_led_state |= D22;;
+               hw_led_state |= D22;
                break;
 
        case led_amber_off:
@@ -104,7 +105,7 @@ void lubbock_leds_event(led_event_t evt)
                break;
 
        case led_red_on:
-               hw_led_state |= D23;;
+               hw_led_state |= D23;
                break;
 
        case led_red_off: