diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-04-29 18:29:29 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-04-29 18:29:29 +0000 |
commit | 1d9400263fd52a054d50ce9726e4ec8e78b66672 (patch) | |
tree | 12888777de304c405d1d3dca71afbd73e577d826 /target/linux/generic/files/drivers/net/phy/rtl8366rb.c | |
parent | badd7a3cf29aa6c156ddc0010e68519814b456e5 (diff) | |
download | mtk-20170518-1d9400263fd52a054d50ce9726e4ec8e78b66672.zip mtk-20170518-1d9400263fd52a054d50ce9726e4ec8e78b66672.tar.gz mtk-20170518-1d9400263fd52a054d50ce9726e4ec8e78b66672.tar.bz2 |
linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
SVN-Revision: 31535
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 ea99aa7..2323abf 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; |