Changeset 36323


Ignore:
Timestamp:
2013-04-12T20:56:05+02:00 (5 years ago)
Author:
blogic
Message:

[geneirc] fix rtl8366s OF binding

Signed-off-by: John Crispin <blogic@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/files/drivers/net/phy/rtl8366s.c

    r35328 r36323  
    257257 
    258258        pdata = smi->parent->platform_data; 
    259         if (pdata->num_initvals && pdata->initvals) { 
     259        if (pdata && pdata->num_initvals && pdata->initvals) { 
    260260                unsigned i; 
    261261 
     
    11111111#ifdef CONFIG_OF 
    11121112static const struct of_device_id rtl8366s_match[] = { 
    1113         { .compatible = "rtl8366s" }, 
     1113        { .compatible = "realtek,rtl8366s" }, 
    11141114        {}, 
    11151115}; 
Note: See TracChangeset for help on using the changeset viewer.