diff options
Diffstat (limited to 'arch/arm/mach-integrator/leds.c')
| -rw-r--r-- | arch/arm/mach-integrator/leds.c | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-integrator/leds.c b/arch/arm/mach-integrator/leds.c index 7a7f6d3273b..f1dcb57a59e 100644 --- a/arch/arm/mach-integrator/leds.c +++ b/arch/arm/mach-integrator/leds.c @@ -11,9 +11,8 @@  #include <linux/slab.h>  #include <linux/leds.h> -#include <mach/cm.h> -#include <mach/hardware.h> -#include <mach/platform.h> +#include "hardware.h" +#include "cm.h"  #if defined(CONFIG_NEW_LEDS) && defined(CONFIG_LEDS_CLASS) @@ -78,7 +77,7 @@ static void cm_led_set(struct led_classdev *cdev,  static enum led_brightness cm_led_get(struct led_classdev *cdev)  { -	u32 reg = readl(CM_CTRL); +	u32 reg = cm_get();  	return (reg & CM_CTRL_LED) ? LED_FULL : LED_OFF;  }  | 
