mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31535 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user