1 Index: linux-2.6.24.2/include/asm-arm/arch-ixp4xx/avila.h
2 ===================================================================
3 --- linux-2.6.24.2.orig/include/asm-arm/arch-ixp4xx/avila.h
4 +++ linux-2.6.24.2/include/asm-arm/arch-ixp4xx/avila.h
6 #define AVILA_PCI_INTC_PIN 9
7 #define AVILA_PCI_INTD_PIN 8
11 +#define AVILA_LED_USER_GPIO 3
12 Index: linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c
13 ===================================================================
14 --- linux-2.6.24.2.orig/arch/arm/mach-ixp4xx/avila-setup.c
15 +++ linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c
16 @@ -174,10 +174,31 @@ static struct platform_device avila_eth[
20 +#ifdef CONFIG_LEDS_IXP4XX
21 +static struct resource avila_led_resources[] = {
24 + .start = AVILA_LED_USER_GPIO,
25 + .end = AVILA_LED_USER_GPIO,
26 + .flags = IXP4XX_GPIO_LOW,
30 +static struct platform_device avila_leds = {
31 + .name = "IXP4XX-GPIO-LED",
33 + .num_resources = ARRAY_SIZE(avila_led_resources),
34 + .resource = avila_led_resources,
38 static struct platform_device *avila_devices[] __initdata = {
43 +#ifdef CONFIG_LEDS_IXP4XX
48 static struct platform_device *avila_eth_devices[] = {