summaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-02 23:19:50 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-02 23:19:50 +0000
commit4784f4c2bf048b55011c8dd82357d0d4b272597f (patch)
tree76410c5bd483be3a06915c7c6645fdfc4a7e21dc /target/linux/ixp4xx
parent7518db7816e94d78ee32865fb87cba9ecdbd5ab1 (diff)
oops, commited wrong version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11621 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx')
-rw-r--r--target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch b/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch
index a35663a9b..79e5e356a 100644
--- a/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch
@@ -153,6 +153,7 @@
+#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>
@@ -242,12 +243,11 @@
+ {
+ .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,
+};
+