source: trunk/target/linux/brcm63xx/patches-3.3/302-extended-platform-devices.patch @ 31127

Last change on this file since 31127 was 31127, checked in by jogo, 4 years ago

bcm63xx: reorder patches

Reorder patches for a clearer distinction between the purposes of
the different patches.

File size: 712 bytes
  • arch/mips/bcm63xx/boards/board_bcm963xx.c

    a b int __init board_register_devices(void) 
    924924        } 
    925925#endif 
    926926 
     927        if (board.num_devs) 
     928                platform_add_devices(board.devs, board.num_devs); 
     929 
    927930        /* read base address of boot chip select (0) */ 
    928931        val = bcm_mpi_readl(MPI_CSBASE_REG(0)); 
    929932        val &= MPI_CSBASE_BASE_MASK; 
  • arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h

    a b struct board_info { 
    6161 
    6262        /* Buttons */ 
    6363        struct gpio_button buttons[4]; 
     64 
     65        /* Additional platform devices */ 
     66        struct platform_device **devs; 
     67        unsigned int    num_devs; 
    6468}; 
    6569 
    6670#endif /* ! BOARD_BCM963XX_H_ */ 
Note: See TracBrowser for help on using the repository browser.