summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192u
diff options
context:
space:
mode:
authorAna Rey <anarey@gmail.com>2014-03-18 17:50:46 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-18 11:11:35 -0700
commitdb11196e74dcbfe642212ca4e59a1b6d3bc73d10 (patch)
treeec10f3f67e77699392c87811092ac4d680eb45c8 /drivers/staging/rtl8192u
parentfee5a5fbf24c4566b4fbde67670933b495dd6781 (diff)
staging: rtl8192u: Move export_symbol below its function
Move export_symbol below its function in ieee80211/dot11d.c Fix checkpatch.pl warning: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Signed-off-by: Ana Rey <anarey@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/dot11d.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/dot11d.c b/drivers/staging/rtl8192u/ieee80211/dot11d.c
index ee7d009336ba..5a4169682fc0 100644
--- a/drivers/staging/rtl8192u/ieee80211/dot11d.c
+++ b/drivers/staging/rtl8192u/ieee80211/dot11d.c
@@ -16,6 +16,7 @@ void Dot11d_Init(struct ieee80211_device *ieee)
printk("Dot11d_Init()\n");
}
+EXPORT_SYMBOL(Dot11d_Init);
/* Reset to the state as we are just entering a regulatory domain. */
void Dot11d_Reset(struct ieee80211_device *ieee)
@@ -36,6 +37,7 @@ void Dot11d_Reset(struct ieee80211_device *ieee)
pDot11dInfo->CountryIeLen = 0;
RESET_CIE_WATCHDOG(ieee);
}
+EXPORT_SYMBOL(Dot11d_Reset);
/*
* Update country IE from Beacon or Probe Resopnse and configure PHY for
@@ -94,7 +96,7 @@ void Dot11d_UpdateCountryIe(struct ieee80211_device *dev, u8 *pTaddr,
memcpy(pDot11dInfo->CountryIeBuf, pCoutryIe, CoutryIeLen);
pDot11dInfo->State = DOT11D_STATE_LEARNED;
}
-
+EXPORT_SYMBOL(Dot11d_UpdateCountryIe);
u8 DOT11D_GetMaxTxPwrInDbm(struct ieee80211_device *dev, u8 Channel)
{
@@ -110,7 +112,7 @@ u8 DOT11D_GetMaxTxPwrInDbm(struct ieee80211_device *dev, u8 Channel)
return MaxTxPwrInDbm;
}
-
+EXPORT_SYMBOL(DOT11D_GetMaxTxPwrInDbm);
void DOT11D_ScanComplete(struct ieee80211_device *dev)
{
@@ -131,6 +133,7 @@ void DOT11D_ScanComplete(struct ieee80211_device *dev)
break;
}
}
+EXPORT_SYMBOL(DOT11D_ScanComplete);
int IsLegalChannel(struct ieee80211_device *dev, u8 channel)
{
@@ -144,6 +147,7 @@ int IsLegalChannel(struct ieee80211_device *dev, u8 channel)
return 1;
return 0;
}
+EXPORT_SYMBOL(IsLegalChannel);
int ToLegalChannel(struct ieee80211_device *dev, u8 channel)
{
@@ -168,10 +172,4 @@ int ToLegalChannel(struct ieee80211_device *dev, u8 channel)
return default_chn;
}
-EXPORT_SYMBOL(Dot11d_Init);
-EXPORT_SYMBOL(Dot11d_Reset);
-EXPORT_SYMBOL(Dot11d_UpdateCountryIe);
-EXPORT_SYMBOL(DOT11D_GetMaxTxPwrInDbm);
-EXPORT_SYMBOL(DOT11D_ScanComplete);
-EXPORT_SYMBOL(IsLegalChannel);
EXPORT_SYMBOL(ToLegalChannel);