1 Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c
2 ===================================================================
3 --- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/avila-setup.c
4 +++ linux-2.6.23.17/arch/arm/mach-ixp4xx/avila-setup.c
5 @@ -165,12 +165,34 @@ static struct platform_device avila_eth[
9 +#ifdef CONFIG_LEDS_IXP4XX
10 +static struct resource avila_led_resources[] = {
13 + .start = AVILA_LED_USER_GPIO,
14 + .end = AVILA_LED_USER_GPIO,
15 + .flags = IXP4XX_GPIO_LOW,
19 +static struct platform_device avila_leds = {
20 + .name = "IXP4XX-GPIO-LED",
22 + .num_resources = ARRAY_SIZE(avila_led_resources),
23 + .resource = avila_led_resources,
28 static struct platform_device *avila_devices[] __initdata = {
34 +#ifdef CONFIG_LEDS_IXP4XX
39 static char avila_rtc_probe[] __initdata = "rtc-ds1672.probe=0,0x68 ";
40 Index: linux-2.6.23.17/include/asm-arm/arch-ixp4xx/avila.h
41 ===================================================================
42 --- linux-2.6.23.17.orig/include/asm-arm/arch-ixp4xx/avila.h
43 +++ linux-2.6.23.17/include/asm-arm/arch-ixp4xx/avila.h
45 #define AVILA_PCI_INTC_PIN 9
46 #define AVILA_PCI_INTD_PIN 8
50 +#define AVILA_LED_USER_GPIO 3