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

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 f7cfd5a..51bae3e 100644 (file)
@@ -1034,7 +1034,7 @@ static void _rtl92e_init_priv_task(struct net_device *dev)
                     (unsigned long)priv);
 }
 
-static short rtl8192_get_channel_map(struct net_device *dev)
+static short _rtl92e_get_channel_map(struct net_device *dev)
 {
        int i;
 
@@ -1076,7 +1076,7 @@ static short _rtl92e_init(struct net_device *dev)
        _rtl92e_init_priv_task(dev);
        priv->ops->get_eeprom_size(dev);
        priv->ops->init_adapter_variable(dev);
-       rtl8192_get_channel_map(dev);
+       _rtl92e_get_channel_map(dev);
 
        rtl92e_dm_init(dev);