oops, commited wrong version
[openwrt.git] / target / linux / ixp4xx / patches-2.6.26 / 110-pronghorn_series_support.patch
index a35663a..79e5e35 100644 (file)
 +#include <linux/types.h>
 +#include <linux/memory.h>
 +#include <linux/i2c-gpio.h>
++#include <linux/leds.h>
 +
 +#include <asm/setup.h>
 +#include <asm/hardware.h>
 +      {
 +              .name           = "pronghorn:green:status",
 +              .gpio           = 7,
-+      },
-+      { },
++      }
 +};
 +
 +static struct gpio_led_platform_data pronghorn_led_data = {
-+      .num_leds               = ARRAY_SIZE(pronghorn_led_pin),
++      .num_leds               = 1,
 +      .leds                   = pronghorn_led_pin,
 +};
 +
This page took 0.019878 seconds and 4 git commands to generate.