[ramips] use gpio_led package rather than staticly linking it into the kernel
[openwrt.git] / target / linux / gemini / patches / 003-wbd111-static-flash-map.patch
index 9a2b2bd..1b9debb 100644 (file)
@@ -1,14 +1,15 @@
 --- a/arch/arm/mach-gemini/board-wbd111.c
 +++ b/arch/arm/mach-gemini/board-wbd111.c
-@@ -15,6 +15,7 @@
- #include <linux/input.h>
+@@ -16,6 +16,8 @@
+ #include <linux/skbuff.h>
  #include <linux/gpio_keys.h>
  #include <linux/mdio-gpio.h>
++#include <linux/mtd/mtd.h>
 +#include <linux/mtd/partitions.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/time.h>
-@@ -101,11 +102,50 @@ static struct sys_timer wbd111_timer = {
+@@ -102,12 +104,51 @@ static struct sys_timer wbd111_timer = {
        .init   = gemini_timer_init,
  };
  
@@ -54,6 +55,7 @@
  {
        gemini_gpio_init();
        platform_register_uart();
+       platform_register_watchdog();
 -      platform_register_pflash(SZ_8M, NULL, 0);
 +      platform_register_pflash(SZ_8M, wbd111_partitions,
 +                               wbd111_num_partitions);
This page took 0.026102 seconds and 4 git commands to generate.