1 Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 ===================================================================
3 --- linux-2.6.32.9.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-02-28 18:50:37.000000000 +0100
4 +++ linux-2.6.32.9/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-02-28 18:54:31.000000000 +0100
14 + .default_trigger = "default-on",
33 - .default_trigger = "default-on",
54 int __init board_register_devices(void)
60 bcm63xx_pcmcia_register();
63 platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1);
65 - bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds);
66 + /* count number of LEDs defined by this device */
67 + while (led_count < ARRAY_SIZE(board.leds) && board.leds[led_count].name)
70 + bcm63xx_led_data.num_leds = led_count;
71 bcm63xx_led_data.leds = board.leds;
73 platform_device_register(&bcm63xx_gpio_leds);
74 Index: linux-2.6.32.9/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
75 ===================================================================
76 --- linux-2.6.32.9.orig/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h 2010-02-28 18:54:39.000000000 +0100
77 +++ linux-2.6.32.9/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h 2010-02-28 18:54:49.000000000 +0100
79 struct bcm63xx_dsp_platform_data dsp;
82 - struct gpio_led leds[5];
83 + struct gpio_led leds[8];
86 struct gpio_button reset_buttons[1];