Ticket #12349: register_microsd.patch

File register_microsd.patch, 618 bytes (added by jogo, 5 years ago)
  • target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c

    diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c
    index 1604a5c..4c47f5a 100644
    a b static void __init rb493g_setup(void) 
    372372                                    rb4xx_leds_gpio); 
    373373 
    374374        spi_register_board_info(rb4xx_spi_info, ARRAY_SIZE(rb4xx_spi_info)); 
     375        spi_register_board_info(rb4xx_microsd_info, 
     376                                ARRAY_SIZE(rb4xx_microsd_info)); 
     377 
    375378        platform_device_register(&rb4xx_spi_device); 
    376379        platform_device_register(&rb4xx_nand_device); 
    377380