Changeset 17055


Ignore:
Timestamp:
2009-07-31T01:17:53+02:00 (7 years ago)
Author:
lars
Message:

[s3c24xx] Post cleanup cleanup

Location:
trunk/target/linux/s3c24xx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/s3c24xx/files-2.6.30/drivers/leds/leds-gta02-vibrator.c

    r17052 r17055  
    2424#include <plat/regs-timer.h> 
    2525#include <linux/gta02-vibrator.h> 
    26  
    27 #include <linux/gta02-shadow.h> 
    2826 
    2927#define COUNTER 64 
  • trunk/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.c

    r17051 r17055  
    3737#include <linux/mfd/core.h> 
    3838#include <linux/mfd/glamo.h> 
    39 #include <linux/spi/glamo.h> 
    40 #include <linux/glamo-gpio.h> 
    4139#include <linux/glamofb.h> 
    4240#include <linux/io.h> 
     
    128126        __reg_set_bit_mask(glamo, reg, mask, val); 
    129127        spin_unlock(&glamo->lock); 
     128} 
     129 
     130static int __reg_write_batch(struct glamo_core *glamo, 
     131                        uint16_t start, size_t num, uint16_t *regs) 
     132{ 
     133        int end = start + num * 2 
     134        for(end = start + num * 2; start < end; start += 2, ++regs) { 
     135                *regs = __reg_read(glamo, start); 
     136        } 
    130137} 
    131138 
  • trunk/target/linux/s3c24xx/patches-2.6.30/055-gta02-leds.patch

    r16048 r17055  
    11--- a/drivers/leds/Kconfig 
    22+++ b/drivers/leds/Kconfig 
    3 @@ -227,6 +227,19 @@ config LEDS_BD2802 
     3@@ -227,6 +227,12 @@ config LEDS_BD2802 
    44          This option enables support for BD2802GU RGB LED driver chips 
    55          accessed via the I2C bus. 
     
    1111+         This option enables support for the vibrator on the Openmoko Freerunner. 
    1212+ 
    13 +config LEDS_GTA02 
    14 +       tristate "LED Support for the Openmoko Freerunner GSM phone" 
    15 +       depends on LEDS_CLASS && MACH_NEO1973_GTA02 
    16 +       help 
    17 +         This option enables support for the LEDs on the Openmoko Freerunner. 
    18 + 
    19 + 
    2013 comment "LED Triggers" 
    2114  
     
    2316--- a/drivers/leds/Makefile 
    2417+++ b/drivers/leds/Makefile 
    25 @@ -30,6 +30,8 @@ obj-$(CONFIG_LEDS_PWM)                        += leds-pwm.o 
     18@@ -30,6 +30,7 @@ obj-$(CONFIG_LEDS_PWM)                        += leds-pwm.o 
    2619  
    2720 # LED SPI Drivers 
    2821 obj-$(CONFIG_LEDS_DAC124S085)          += leds-dac124s085.o 
    2922+obj-$(CONFIG_LEDS_GTA02_VIBRATOR)      += leds-gta02-vibrator.o 
    30 +obj-$(CONFIG_LEDS_GTA02)       += leds-gta02.o 
    3123  
    3224 # LED Triggers 
Note: See TracChangeset for help on using the changeset viewer.