staging: rtl8192e: Rename rtl8192_alloc_rx_desc_ring
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:00 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:40 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_alloc_rx_desc_ring to _rtl92e_alloc_rx_ring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 19ba55ae507229a21666a957c3f31cffd2acf723..122373aa95e2afcf453cdb3240b31cddee7446be 100644 (file)
@@ -1812,7 +1812,7 @@ static short rtl8192_tx(struct net_device *dev, struct sk_buff *skb)
        return 0;
 }
 
-static short rtl8192_alloc_rx_desc_ring(struct net_device *dev)
+static short _rtl92e_alloc_rx_ring(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rx_desc *entry = NULL;
@@ -1894,7 +1894,7 @@ static short _rtl92e_pci_initdescring(struct net_device *dev)
        int i;
        struct r8192_priv *priv = rtllib_priv(dev);
 
-       ret = rtl8192_alloc_rx_desc_ring(dev);
+       ret = _rtl92e_alloc_rx_ring(dev);
        if (ret)
                return ret;