1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1051,5 +1051,9 @@ int __init board_register_devices(void)
4 platform_device_register(&bcm63xx_gpio_buttons_device);
7 + if (board.num_devs) {
8 + platform_add_devices(board.devs, board.num_devs);
13 --- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
14 +++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
15 @@ -61,6 +61,10 @@ struct board_info {
18 struct gpio_button buttons[2];
20 + /* Additional platform devices */
21 + struct platform_device **devs;
22 + unsigned int num_devs;
25 #endif /* ! BOARD_BCM963XX_H_ */