1 Index: linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c
2 ===================================================================
3 --- linux-2.6.23.14.orig/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-25 18:26:06.000000000 +0100
4 +++ linux-2.6.23.14/arch/arm/mach-ixp4xx/avila-setup.c 2008-01-25 18:44:02.000000000 +0100
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.14/include/asm-arm/arch-ixp4xx/avila.h
41 ===================================================================
42 --- linux-2.6.23.14.orig/include/asm-arm/arch-ixp4xx/avila.h 2008-01-25 18:26:02.000000000 +0100
43 +++ linux-2.6.23.14/include/asm-arm/arch-ixp4xx/avila.h 2008-01-25 18:26:06.000000000 +0100
45 #define AVILA_PCI_INTC_PIN 9
46 #define AVILA_PCI_INTD_PIN 8
50 +#define AVILA_LED_USER_GPIO 3