1 Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 ===================================================================
3 --- linux-2.6.32.13.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-05-27 21:44:19.000000000 -0400
4 +++ linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-05-27 21:44:35.000000000 -0400
6 platform_device_register(&bcm63xx_gpio_buttons_device);
9 + if (board.num_devs) {
10 + platform_add_devices(board.devs, board.num_devs);
16 Index: linux-2.6.32.13/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
17 ===================================================================
18 --- linux-2.6.32.13.orig/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h 2010-05-27 21:44:19.000000000 -0400
19 +++ linux-2.6.32.13/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h 2010-05-27 21:44:35.000000000 -0400
23 struct gpio_button buttons[2];
25 + /* Additional platform devices */
26 + struct platform_device **devs;
27 + unsigned int num_devs;
30 #endif /* ! BOARD_BCM963XX_H_ */