aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Kulikowski <[email protected]>2015-09-20 10:13:01 +0200
committerGreg Kroah-Hartman <[email protected]>2015-09-29 03:33:40 +0200
commitbf1ddf24d8a86c827fd079b164cba4694dcc47fc (patch)
tree2964b600d91c819bc7f023755e73b353cdae6941
parent9d148965ebe43feb7f70f60cadbc80cbc55d17f5 (diff)
staging: rtl8192e: Rename rtl8192_alloc_tx_desc_ring
Use naming schema found in other rtlwifi devices. Rename rtl8192_alloc_tx_desc_ring to _rtl92e_alloc_tx_ring. Signed-off-by: Mateusz Kulikowski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/rtl_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
index 122373aa95e2..e456e189c0ac 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
@@ -1860,8 +1860,8 @@ static short _rtl92e_alloc_rx_ring(struct net_device *dev)
return 0;
}
-static int rtl8192_alloc_tx_desc_ring(struct net_device *dev,
- unsigned int prio, unsigned int entries)
+static int _rtl92e_alloc_tx_ring(struct net_device *dev, unsigned int prio,
+ unsigned int entries)
{
struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);
struct tx_desc *ring;
@@ -1899,7 +1899,7 @@ static short _rtl92e_pci_initdescring(struct net_device *dev)
return ret;
for (i = 0; i < MAX_TX_QUEUE_COUNT; i++) {
- ret = rtl8192_alloc_tx_desc_ring(dev, i, priv->txringcount);
+ ret = _rtl92e_alloc_tx_ring(dev, i, priv->txringcount);
if (ret)
goto err_free_rings;
}