1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[ar7] use physmap-flash part_probe_types

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34398 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2012-11-27 18:42:49 +00:00
parent baad3f17ed
commit 22168e74f6
8 changed files with 48 additions and 56 deletions

View File

@@ -1,6 +1,6 @@
--- a/arch/mips/ar7/platform.c
+++ b/arch/mips/ar7/platform.c
@@ -462,31 +462,22 @@ static struct gpio_led fb_fon_leds[] = {
@@ -465,31 +465,22 @@ static struct gpio_led fb_fon_leds[] = {
},
};
@@ -35,7 +35,7 @@
.default_trigger = "default-on",
},
{
@@ -494,6 +485,44 @@ static struct gpio_led gt701_leds[] = {
@@ -497,6 +488,44 @@ static struct gpio_led gt701_leds[] = {
.gpio = 10,
.active_low = 1,
},
@@ -80,7 +80,7 @@
};
static struct gpio_led_platform_data ar7_led_data;
@@ -537,9 +566,9 @@ static void __init detect_leds(void)
@@ -540,9 +569,9 @@ static void __init detect_leds(void)
} else if (strstr(prid, "CYWM") || strstr(prid, "CYWL")) {
ar7_led_data.num_leds = ARRAY_SIZE(titan_leds);
ar7_led_data.leds = titan_leds;