Commit 3ebfc418 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Make phy_RF8256_Config_ParaFile() static

Relocate function in driver to avoid adding unnecessary fw decl.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e0c84c1c
...@@ -81,15 +81,7 @@ void PHY_SetRF8256Bandwidth(struct net_device *dev, ...@@ -81,15 +81,7 @@ void PHY_SetRF8256Bandwidth(struct net_device *dev,
} }
} }
bool PHY_RF8256_Config(struct net_device *dev) static bool phy_RF8256_Config_ParaFile(struct net_device *dev)
{
struct r8192_priv *priv = rtllib_priv(dev);
priv->NumTotalRFPath = RTL819X_TOTAL_RF_PATH;
return phy_RF8256_Config_ParaFile(dev);
}
bool phy_RF8256_Config_ParaFile(struct net_device *dev)
{ {
u32 u4RegValue = 0; u32 u4RegValue = 0;
u8 eRFPath; u8 eRFPath;
...@@ -240,6 +232,14 @@ bool phy_RF8256_Config_ParaFile(struct net_device *dev) ...@@ -240,6 +232,14 @@ bool phy_RF8256_Config_ParaFile(struct net_device *dev)
return false; return false;
} }
bool PHY_RF8256_Config(struct net_device *dev)
{
struct r8192_priv *priv = rtllib_priv(dev);
priv->NumTotalRFPath = RTL819X_TOTAL_RF_PATH;
return phy_RF8256_Config_ParaFile(dev);
}
void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel) void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel)
{ {
u32 TxAGC = 0; u32 TxAGC = 0;
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
extern void PHY_SetRF8256Bandwidth(struct net_device *dev, extern void PHY_SetRF8256Bandwidth(struct net_device *dev,
enum ht_channel_width Bandwidth); enum ht_channel_width Bandwidth);
extern bool PHY_RF8256_Config(struct net_device *dev); extern bool PHY_RF8256_Config(struct net_device *dev);
extern bool phy_RF8256_Config_ParaFile(struct net_device *dev);
extern void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel); extern void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel);
extern void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel); extern void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment