diff options
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8366rb.c')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366rb.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366rb.c b/target/linux/generic/files/drivers/net/phy/rtl8366rb.c index ea99aa73c2..2323abf3b5 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366rb.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8366rb.c @@ -265,7 +265,7 @@ static int rtl8366rb_reset_chip(struct rtl8366_smi *smi) return 0; } -static int rtl8366rb_hw_init(struct rtl8366_smi *smi) +static int rtl8366rb_setup(struct rtl8366_smi *smi) { int err; @@ -942,7 +942,7 @@ static int rtl8366rb_sw_reset_switch(struct switch_dev *dev) if (err) return err; - err = rtl8366rb_hw_init(smi); + err = rtl8366rb_setup(smi); if (err) return err; @@ -1138,11 +1138,6 @@ static int rtl8366rb_mii_write(struct mii_bus *bus, int addr, int reg, u16 val) return err; } -static int rtl8366rb_setup(struct rtl8366_smi *smi) -{ - return rtl8366rb_hw_init(smi); -} - static int rtl8366rb_detect(struct rtl8366_smi *smi) { u32 chip_id = 0; |