1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-04 19:29:42 +02:00

oops, commited wrong version

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11621 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
kaloz 2008-07-02 23:19:50 +00:00
parent 7518db7816
commit 4784f4c2bf

View File

@ -153,6 +153,7 @@
+#include <linux/types.h> +#include <linux/types.h>
+#include <linux/memory.h> +#include <linux/memory.h>
+#include <linux/i2c-gpio.h> +#include <linux/i2c-gpio.h>
+#include <linux/leds.h>
+ +
+#include <asm/setup.h> +#include <asm/setup.h>
+#include <asm/hardware.h> +#include <asm/hardware.h>
@ -242,12 +243,11 @@
+ { + {
+ .name = "pronghorn:green:status", + .name = "pronghorn:green:status",
+ .gpio = 7, + .gpio = 7,
+ }, + }
+ { },
+}; +};
+ +
+static struct gpio_led_platform_data pronghorn_led_data = { +static struct gpio_led_platform_data pronghorn_led_data = {
+ .num_leds = ARRAY_SIZE(pronghorn_led_pin), + .num_leds = 1,
+ .leds = pronghorn_led_pin, + .leds = pronghorn_led_pin,
+}; +};
+ +