提交 85d9bf97 编写于 作者: C Christophe JAILLET 提交者: David S. Miller

chelsio: Fix a typo in a function name

It is likely that 'my3216_poll()' should be 'my3126_poll()'. (1 and 2
switched in 3126.
Signed-off-by: NChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 bb132083
...@@ -94,7 +94,7 @@ static int my3126_interrupt_handler(struct cphy *cphy) ...@@ -94,7 +94,7 @@ static int my3126_interrupt_handler(struct cphy *cphy)
return cphy_cause_link_change; return cphy_cause_link_change;
} }
static void my3216_poll(struct work_struct *work) static void my3126_poll(struct work_struct *work)
{ {
struct cphy *cphy = container_of(work, struct cphy, phy_update.work); struct cphy *cphy = container_of(work, struct cphy, phy_update.work);
...@@ -177,7 +177,7 @@ static struct cphy *my3126_phy_create(struct net_device *dev, ...@@ -177,7 +177,7 @@ static struct cphy *my3126_phy_create(struct net_device *dev,
return NULL; return NULL;
cphy_init(cphy, dev, phy_addr, &my3126_ops, mdio_ops); cphy_init(cphy, dev, phy_addr, &my3126_ops, mdio_ops);
INIT_DELAYED_WORK(&cphy->phy_update, my3216_poll); INIT_DELAYED_WORK(&cphy->phy_update, my3126_poll);
cphy->bmsr = 0; cphy->bmsr = 0;
return cphy; return cphy;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册