Changeset 30724


Ignore:
Timestamp:
2012-02-25T19:55:48+01:00 (6 years ago)
Author:
nbd
Message:

ar71xx: fix rtl8366rb support on wzr-hp-g300nh (patch by igor from #11021)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh.c

    r27816 r30724  
    271271        platform_device_register(&wzrhpg300nh_74hc153_device); 
    272272        platform_device_register(&wzrhpg300nh_flash_device); 
    273         platform_device_register(&wzrhpg300nh_rtl8366s_device); 
     273 
     274        if (hasrtl8366rb) 
     275                platform_device_register(&wzrhpg300nh_rtl8366rb_device); 
     276        else 
     277                platform_device_register(&wzrhpg300nh_rtl8366s_device); 
    274278 
    275279        ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(wzrhpg300nh_leds_gpio), 
Note: See TracChangeset for help on using the changeset viewer.