r8169:change the name of function "r8168dp_check_dash" to "r8168_check_dash"
authorChun-Hao Lin <hau@realtek.com>
Wed, 1 Oct 2014 15:17:19 +0000 (23:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2014 19:33:18 +0000 (15:33 -0400)
DASH function not only RTL8168DP can support, but also RTL8168EP.
So change the name of function "r8168dp_check_dash" to "r8168_check_dash".

Signed-off-by: Chun-Hao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c

index 5884b6d9a7178e1455a123412f35ad5e27dedec8..d84605a3c2e38502d0b1b9f1c5985ea3b1b42015 100644 (file)
@@ -1015,7 +1015,7 @@ static void rtl8168_driver_stop(struct rtl8169_private *tp)
        rtl_msleep_loop_wait_low(tp, &rtl_ocp_read_cond, 10, 10);
 }
 
-static int r8168dp_check_dash(struct rtl8169_private *tp)
+static int r8168_check_dash(struct rtl8169_private *tp)
 {
        u16 reg = rtl8168_get_ocp_reg(tp);
 
@@ -4364,7 +4364,7 @@ static void r8168_pll_power_down(struct rtl8169_private *tp)
        if ((tp->mac_version == RTL_GIGA_MAC_VER_27 ||
             tp->mac_version == RTL_GIGA_MAC_VER_28 ||
             tp->mac_version == RTL_GIGA_MAC_VER_31) &&
-           r8168dp_check_dash(tp)) {
+           r8168_check_dash(tp)) {
                return;
        }