1 --- a/arch/mips/bcm63xx/boards/board_common.c
2 +++ b/arch/mips/bcm63xx/boards/board_common.c
3 @@ -206,6 +206,9 @@ int __init board_register_devices(void)
5 bcm63xx_hsspi_register();
8 + platform_add_devices(board.devs, board.num_devs);
10 bcm63xx_flash_register();
12 bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds);
13 --- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
14 +++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
15 @@ -53,6 +53,10 @@ struct board_info {
17 /* External PHY reset GPIO flags from gpio.h */
18 unsigned long ephy_reset_gpio_flags;
20 + /* Additional platform devices */
21 + struct platform_device **devs;
22 + unsigned int num_devs;
25 #endif /* ! BOARD_BCM963XX_H_ */