From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:13:57 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl8192_read_eeprom_info X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=676b8bae806ebf7e36d640ea64ac06116143fc5b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8192e: Rename rtl8192_read_eeprom_info Use naming schema found in other rtlwifi devices. Rename rtl8192_read_eeprom_info to _rtl92e_read_eeprom_info. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c index e4c3e29bf93b..ff0f99b0874d 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -309,7 +309,7 @@ void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val) } -static void rtl8192_read_eeprom_info(struct net_device *dev) +static void _rtl92e_read_eeprom_info(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); const u8 bMac_Tmp_Addr[ETH_ALEN] = {0x00, 0xe0, 0x4c, 0x00, 0x00, 0x01}; @@ -318,7 +318,7 @@ static void rtl8192_read_eeprom_info(struct net_device *dev) u16 i, usValue, IC_Version; u16 EEPROMId; - RT_TRACE(COMP_INIT, "====> rtl8192_read_eeprom_info\n"); + RT_TRACE(COMP_INIT, "====> _rtl92e_read_eeprom_info\n"); EEPROMId = rtl92e_eeprom_read(dev, 0); if (EEPROMId != RTL8190_EEPROM_ID) { @@ -637,7 +637,7 @@ void rtl92e_get_eeprom_size(struct net_device *dev) EEPROM_93C46; RT_TRACE(COMP_INIT, "<===========%s(), epromtype:%d\n", __func__, priv->epromtype); - rtl8192_read_eeprom_info(dev); + _rtl92e_read_eeprom_info(dev); } static void _rtl92e_hwconfig(struct net_device *dev)