summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/netdev.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-02-05 07:31:41 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-05 07:31:41 +0100
commitb405e8df26dfe4c56ab3f88f5cc1dfab0d220289 (patch)
treeb6a1edf4f519536ad22c69a7d342038315859264 /drivers/net/e1000e/netdev.c
parentbridge: Remove unused age_list (diff)
downloadlinux-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.c4
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;