summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-2.6.26
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-07-02 23:19:50 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-07-02 23:19:50 +0000
commite830b48f678efe37e2326ec120f36c8cf2b41a43 (patch)
tree7595cb2ff8e1763440a472318b951fa6aacd9636 /target/linux/ixp4xx/patches-2.6.26
parent6154833d2c5ca74ed3d9c1785b93aeaf91e593d7 (diff)
downloadmtk-20170518-e830b48f678efe37e2326ec120f36c8cf2b41a43.zip
mtk-20170518-e830b48f678efe37e2326ec120f36c8cf2b41a43.tar.gz
mtk-20170518-e830b48f678efe37e2326ec120f36c8cf2b41a43.tar.bz2
oops, commited wrong version
SVN-Revision: 11621
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.26')
-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 a35663a..79e5e35 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,
+};
+