diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-05-24 11:25:35 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-05-24 11:25:35 +0000 |
commit | 6454a87560c19cd72044d08a9c0d5a89b0319d2f (patch) | |
tree | 6f8638882659c3fb421bddc7b763733da5fda540 /target/linux/ixp4xx/patches-2.6.25/301-avila_led.patch | |
parent | cdd03b171d314f9250221930fb0758fda538cf63 (diff) | |
download | mtk-20170518-6454a87560c19cd72044d08a9c0d5a89b0319d2f.zip mtk-20170518-6454a87560c19cd72044d08a9c0d5a89b0319d2f.tar.gz mtk-20170518-6454a87560c19cd72044d08a9c0d5a89b0319d2f.tar.bz2 |
clean up Avila/Cambria patches
SVN-Revision: 11254
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.25/301-avila_led.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.25/301-avila_led.patch | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.25/301-avila_led.patch b/target/linux/ixp4xx/patches-2.6.25/301-avila_led.patch index f2732fe..09e0e23 100644 --- a/target/linux/ixp4xx/patches-2.6.25/301-avila_led.patch +++ b/target/linux/ixp4xx/patches-2.6.25/301-avila_led.patch @@ -35,49 +35,49 @@ Index: linux-2.6.25.4/arch/arm/mach-ixp4xx/avila-setup.c + +static struct latch_led avila_latch_leds[] = { + { -+ .name = "led0", /* green led */ -+ .bit = 0, ++ .name = "led0", /* green led */ ++ .bit = 0, + }, + { -+ .name = "led1", /* green led */ -+ .bit = 1, ++ .name = "led1", /* green led */ ++ .bit = 1, + }, + { -+ .name = "led2", /* green led */ -+ .bit = 2, ++ .name = "led2", /* green led */ ++ .bit = 2, + }, + { -+ .name = "led3", /* green led */ -+ .bit = 3, ++ .name = "led3", /* green led */ ++ .bit = 3, + }, + { -+ .name = "led4", /* green led */ -+ .bit = 4, ++ .name = "led4", /* green led */ ++ .bit = 4, + }, + { -+ .name = "led5", /* green led */ -+ .bit = 5, ++ .name = "led5", /* green led */ ++ .bit = 5, + }, + { -+ .name = "led6", /* green led */ -+ .bit = 6, ++ .name = "led6", /* green led */ ++ .bit = 6, + }, + { -+ .name = "led7", /* green led */ -+ .bit = 7, ++ .name = "led7", /* green led */ ++ .bit = 7, + } +}; + +static struct latch_led_platform_data avila_latch_leds_data = { -+ .num_leds = 8, -+ .leds = avila_latch_leds, -+ .mem = 0x51000000, ++ .num_leds = 8, ++ .leds = avila_latch_leds, ++ .mem = 0x51000000, +}; + +static struct platform_device avila_latch_leds_device = { -+ .name = "leds-latch", -+ .id = -1, -+ .dev.platform_data = &avila_latch_leds_data, ++ .name = "leds-latch", ++ .id = -1, ++ .dev.platform_data = &avila_latch_leds_data, +}; + static struct platform_device *avila_devices[] __initdata = { |