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 | bd9308390ccc22454bac9952df6ba7519788e97b (patch) | |
tree | b6403e1caceb4199614a6be860b3d8600590a439 /target/linux/generic/files/drivers/net/phy/rtl8366s.c | |
parent | b29026e34d73dd3f033aaa01c97eda91df12c03f (diff) | |
download | upstream-bd9308390ccc22454bac9952df6ba7519788e97b.tar.gz upstream-bd9308390ccc22454bac9952df6ba7519788e97b.tar.bz2 upstream-bd9308390ccc22454bac9952df6ba7519788e97b.zip |
linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31535 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8366s.c')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366s.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366s.c b/target/linux/generic/files/drivers/net/phy/rtl8366s.c index 2a8b3a7c8c..b31d0be2f5 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366s.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8366s.c @@ -248,7 +248,7 @@ static int rtl8366s_reset_chip(struct rtl8366_smi *smi) return 0; } -static int rtl8366s_hw_init(struct rtl8366_smi *smi) +static int rtl8366s_setup(struct rtl8366_smi *smi) { struct rtl8366_platform_data *pdata; int err; @@ -842,7 +842,7 @@ static int rtl8366s_sw_reset_switch(struct switch_dev *dev) if (err) return err; - err = rtl8366s_hw_init(smi); + err = rtl8366s_setup(smi); if (err) return err; @@ -1018,11 +1018,6 @@ static int rtl8366s_mii_write(struct mii_bus *bus, int addr, int reg, u16 val) return err; } -static int rtl8366s_setup(struct rtl8366_smi *smi) -{ - return rtl8366s_hw_init(smi); -} - static int rtl8366s_detect(struct rtl8366_smi *smi) { u32 chip_id = 0; |