Send commitlog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r1926 - trunk/src/target/kernel/patches
      ([EMAIL PROTECTED])
   2. r1927 - trunk/src/host/devirginator ([EMAIL PROTECTED])
   3. r1928 - trunk/src/target/kernel/patches
      ([EMAIL PROTECTED])
--- Begin Message ---
Author: laforge
Date: 2007-05-08 06:01:19 +0200 (Tue, 08 May 2007)
New Revision: 1926

Modified:
   trunk/src/target/kernel/patches/gta01-backlight.patch
Log:
* fix GTA01 backlight driver on 2.6.21 kernels
  (BACKLIGHT_DEVICE has been replaced by BACKLIGHT_CLASS_DEVICE)


Modified: trunk/src/target/kernel/patches/gta01-backlight.patch
===================================================================
--- trunk/src/target/kernel/patches/gta01-backlight.patch       2007-05-08 
03:21:28 UTC (rev 1925)
+++ trunk/src/target/kernel/patches/gta01-backlight.patch       2007-05-08 
04:01:19 UTC (rev 1926)
@@ -10,7 +10,7 @@
  
 +config BACKLIGHT_GTA01
 +      tristate "FIC Neo1973 GTA01 Backlight Driver"
-+      depends on BACKLIGHT_DEVICE && MACH_NEO1973_GTA01
++      depends on BACKLIGHT_CLASS_DEVICE && MACH_NEO1973_GTA01
 +      default y
 +      help
 +        If you have a FIC GTA01 say y to enable the backlight driver.




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-05-08 06:52:46 +0200 (Tue, 08 May 2007)
New Revision: 1927

Modified:
   trunk/src/host/devirginator/environment.in
Log:
mount root-fs as read-only when booting from SD (since our default init script 
expects it read-only to be able to do fsck before mounting it read-write)


Modified: trunk/src/host/devirginator/environment.in
===================================================================
--- trunk/src/host/devirginator/environment.in  2007-05-08 04:01:19 UTC (rev 
1926)
+++ trunk/src/host/devirginator/environment.in  2007-05-08 04:52:46 UTC (rev 
1927)
@@ -33,7 +33,7 @@
   Boot from microSD:
   setenv bootargs
     ${bootargs_base} rootfstype=ext2 rootfs=/dev/mmcblk0p1 rootdelay=5
-    ${mtdparts};
+    ${mtdparts} ro;
   mmcinit;
   ext2load mmc 0 0x32000000 /boot/${sd_image_name};
   bootm 0x32000000




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-05-08 11:21:11 +0200 (Tue, 08 May 2007)
New Revision: 1928

Modified:
   trunk/src/target/kernel/patches/gta01-backlight.patch
Log:
* make backlight driver compile with 2.6.21 backlight API changes


Modified: trunk/src/target/kernel/patches/gta01-backlight.patch
===================================================================
--- trunk/src/target/kernel/patches/gta01-backlight.patch       2007-05-08 
04:52:46 UTC (rev 1927)
+++ trunk/src/target/kernel/patches/gta01-backlight.patch       2007-05-08 
09:21:11 UTC (rev 1928)
@@ -35,7 +35,7 @@
 ===================================================================
 --- /dev/null
 +++ linux-2.6.21-moko/drivers/video/backlight/gta01_bl.c
-@@ -0,0 +1,287 @@
+@@ -0,0 +1,286 @@
 +/*
 + *  Backlight Driver for FIC GTA01 (Neo1973) GSM Phone
 + *
@@ -104,11 +104,11 @@
 +
 +static int gta01bl_send_intensity(struct backlight_device *bd)
 +{
-+      int intensity = bd->props->brightness;
++      int intensity = bd->props.brightness;
 +
-+      if (bd->props->power != FB_BLANK_UNBLANK)
++      if (bd->props.power != FB_BLANK_UNBLANK)
 +              intensity = 0;
-+      if (bd->props->fb_blank != FB_BLANK_UNBLANK)
++      if (bd->props.fb_blank != FB_BLANK_UNBLANK)
 +              intensity = 0;
 +      if (gta01bl_flags & GTA01BL_SUSPENDED)
 +              intensity = 0;
@@ -122,7 +122,7 @@
 +      else
 +              s3c2410_gpio_setpin(GTA01_GPIO_BACKLIGHT, 0);
 +#else
-+      if (intensity == bd->props->max_brightness) {
++      if (intensity == bd->props.max_brightness) {
 +              s3c2410_gpio_setpin(GTA01_GPIO_BACKLIGHT, 1);
 +              s3c2410_gpio_cfgpin(GTA01_GPIO_BACKLIGHT, S3C2410_GPIO_OUTPUT);
 +      } else  {
@@ -232,8 +232,7 @@
 +EXPORT_SYMBOL(gta01bl_limit_intensity);
 +
 +
-+static struct backlight_properties gta01bl_prop = {
-+      .owner          = THIS_MODULE,
++static struct backlight_ops gta01bl_ops = {
 +      .get_brightness = gta01bl_get_intensity,
 +      .update_status  = gta01bl_set_intensity,
 +};
@@ -262,7 +261,7 @@
 +
 +      gta01_backlight_device = backlight_device_register("gta01-bl",
 +                                                         &pdev->dev, NULL,
-+                                                         &gta01bl_prop);
++                                                         &gta01bl_ops);
 +      if (IS_ERR(gta01_backlight_device))
 +              return PTR_ERR(gta01_backlight_device);
 +




--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to