[ixp4xx] move the latch-led driver into a separated patch
[openwrt.git] / target / linux / ixp4xx / patches-2.6.23 / 016-dsmg600_auto_power_on.patch
index 2a1f2415f75ec7788ae00bf61d027ff473876326..b0aee75dd43bfb702f126e54649bb794262788b9 100644 (file)
@@ -13,10 +13,10 @@ Signed-off-by: Rod Whitby <rod@whitby.id.au>
  include/asm-arm/arch-ixp4xx/dsmg600.h |    7 +------
  2 files changed, 15 insertions(+), 16 deletions(-)
 
-Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c
+Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/dsmg600-power.c
 ===================================================================
---- linux-2.6.23.12-armeb.orig/arch/arm/mach-ixp4xx/dsmg600-power.c    2008-01-11 16:20:26.000000000 +1030
-+++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c 2008-01-11 16:20:30.000000000 +1030
+--- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/dsmg600-power.c
++++ linux-2.6.23.17/arch/arm/mach-ixp4xx/dsmg600-power.c
 @@ -26,10 +26,9 @@
  #include <linux/jiffies.h>
  #include <linux/timer.h>
@@ -29,7 +29,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c
  /* This is used to make sure the power-button pusher is serious.  The button
   * must be held until the value of this counter reaches zero.
   */
-@@ -47,9 +46,16 @@
+@@ -47,9 +46,16 @@ static void dsmg600_power_handler(unsign
         * state of the power button.
         */
  
@@ -47,7 +47,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c
                if (power_button_countdown == 0) {
                        /* Signal init to do the ctrlaltdel action, this will bypass
                         * init if it hasn't started and do a kernel_restart.
-@@ -58,11 +64,9 @@
+@@ -58,11 +64,9 @@ static void dsmg600_power_handler(unsign
  
                        /* Change the state of the power LED to "blink" */
                        gpio_line_set(DSMG600_LED_PWR_GPIO, IXP4XX_GPIO_LOW);
@@ -61,7 +61,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c
        }
  
        mod_timer(&dsmg600_power_timer, jiffies + msecs_to_jiffies(500));
-@@ -81,12 +85,12 @@
+@@ -81,12 +85,12 @@ static int __init dsmg600_power_init(voi
        if (!(machine_is_dsmg600()))
                return 0;
  
@@ -76,7 +76,7 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c
  
                return -EIO;
        }
-@@ -114,7 +118,7 @@
+@@ -114,7 +118,7 @@ static void __exit dsmg600_power_exit(vo
  
        del_timer_sync(&dsmg600_power_timer);
  
@@ -85,10 +85,10 @@ Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-power.c
  }
  
  module_init(dsmg600_power_init);
-Index: linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/dsmg600.h
+Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/dsmg600.h
 ===================================================================
---- linux-2.6.23.12-armeb.orig/include/asm-arm/arch-ixp4xx/dsmg600.h   2008-01-11 16:20:26.000000000 +1030
-+++ linux-2.6.23.12-armeb/include/asm-arm/arch-ixp4xx/dsmg600.h        2008-01-11 16:20:30.000000000 +1030
+--- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/dsmg600.h
++++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/dsmg600.h
 @@ -40,18 +40,13 @@
  /* Buttons */