Changeset 13759


Ignore:
Timestamp:
2008-12-29T18:54:16+01:00 (9 years ago)
Author:
juhosg
Message:

[ar71xx] add experimental support for the Ubiquiti LSX board

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c

    r13697 r13759  
    2626#define UBNT_BUTTONS_POLL_INTERVAL      20 
    2727 
    28 static struct spi_board_info ubnt_rs_spi_info[] = { 
     28static struct spi_board_info ubnt_spi_info[] = { 
    2929        { 
    3030                .bus_num        = 0, 
     
    7575static void __init ubnt_rs_setup(void) 
    7676{ 
    77         ar71xx_add_device_spi(NULL, ubnt_rs_spi_info, 
    78                                     ARRAY_SIZE(ubnt_rs_spi_info)); 
     77        ar71xx_add_device_spi(NULL, ubnt_spi_info, 
     78                                    ARRAY_SIZE(ubnt_spi_info)); 
    7979 
    8080        ar71xx_add_device_mdio(~(UBNT_RS_WAN_PHYMASK | UBNT_RS_LAN_PHYMASK)); 
     
    105105 
    106106MIPS_MACHINE(AR71XX_MACH_UBNT_RS, "Ubiquiti RouterStation", ubnt_rs_setup); 
     107 
     108static void __init ubnt_lsx_setup(void) 
     109{ 
     110        ar71xx_add_device_spi(NULL, ubnt_spi_info, 
     111                                    ARRAY_SIZE(ubnt_spi_info)); 
     112} 
     113 
     114MIPS_MACHINE(AR71XX_MACH_UBNT_LSX, "Ubiquiti LSX", ubnt_lsx_setup); 
Note: See TracChangeset for help on using the changeset viewer.