oops, commited wrong version
authorImre Kaloz <kaloz@openwrt.org>
Wed, 2 Jul 2008 23:19:50 +0000 (23:19 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Wed, 2 Jul 2008 23:19:50 +0000 (23:19 +0000)
SVN-Revision: 11621

target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch

index a35663a9b0872ffbb11d8b5b78b508dc6e65de65..79e5e356acacd54517368dc611225ef0658abaac 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,
 +};
 +