diff options
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8367.c')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8367.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8367.c b/target/linux/generic/files/drivers/net/phy/rtl8367.c index c56a129..9959ee3 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8367.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8367.c @@ -1071,7 +1071,7 @@ static int rtl8367_led_blinkrate_set(struct rtl8366_smi *smi, unsigned int rate) return 0; } -static int rtl8367_hw_init(struct rtl8366_smi *smi) +static int rtl8367_setup(struct rtl8366_smi *smi) { struct rtl8367_platform_data *pdata; int err; @@ -1485,7 +1485,7 @@ static int rtl8367_sw_reset_switch(struct switch_dev *dev) return err; - err = rtl8367_hw_init(smi); + err = rtl8367_setup(smi); if (err) return err; @@ -1635,11 +1635,6 @@ static int rtl8367_mii_write(struct mii_bus *bus, int addr, int reg, u16 val) return err; } -static int rtl8367_setup(struct rtl8366_smi *smi) -{ - return rtl8367_hw_init(smi); -} - static int rtl8367_detect(struct rtl8366_smi *smi) { u32 rtl_no = 0; |