Ignore:
Timestamp:
2012-04-29T20:29:26+02:00 (5 years ago)
Author:
juhosg
Message:

linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops

File:
1 edited

Legend:

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

    r30844 r31534  
    16381638static int rtl8367_setup(struct rtl8366_smi *smi) 
    16391639{ 
    1640         int ret; 
    1641  
    1642         ret = rtl8367_reset_chip(smi); 
    1643         if (ret) 
    1644                 return ret; 
    1645  
    1646         ret = rtl8367_hw_init(smi); 
    1647         return ret; 
     1640        return rtl8367_hw_init(smi); 
    16481641} 
    16491642 
     
    16871680static struct rtl8366_smi_ops rtl8367_smi_ops = { 
    16881681        .detect         = rtl8367_detect, 
     1682        .reset_chip     = rtl8367_reset_chip, 
    16891683        .setup          = rtl8367_setup, 
    16901684 
Note: See TracChangeset for help on using the changeset viewer.