diff options
author | David S. Miller <davem@davemloft.net> | 2010-02-05 07:31:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-05 07:31:41 +0100 |
commit | b405e8df26dfe4c56ab3f88f5cc1dfab0d220289 (patch) | |
tree | b6a1edf4f519536ad22c69a7d342038315859264 /drivers/net/e1000e/netdev.c | |
parent | bridge: Remove unused age_list (diff) | |
download | linux-b405e8df26dfe4c56ab3f88f5cc1dfab0d220289.tar.xz linux-b405e8df26dfe4c56ab3f88f5cc1dfab0d220289.zip |
e1000e: Fix namespace conflicts wrt. e1000_has_link
Reported by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/e1000e/netdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index 14a80f8f6118..ffa37c682a00 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c @@ -3472,7 +3472,7 @@ static void e1000_print_link_info(struct e1000_adapter *adapter) ((ctrl & E1000_CTRL_TFCE) ? "TX" : "None" ))); } -bool e1000_has_link(struct e1000_adapter *adapter) +bool e1000e_has_link(struct e1000_adapter *adapter) { struct e1000_hw *hw = &adapter->hw; bool link_active = 0; @@ -3553,7 +3553,7 @@ static void e1000_watchdog_task(struct work_struct *work) u32 link, tctl; int tx_pending = 0; - link = e1000_has_link(adapter); + link = e1000e_has_link(adapter); if ((netif_carrier_ok(netdev)) && link) { e1000e_enable_receives(adapter); goto link_up; |