diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-23 12:08:14 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-23 12:38:38 -0500 |
commit | 530877d8ddf300d9553e493398117ddecc274ffd (patch) | |
tree | 79a96e821d3eec044dd4e1ee7b6a2110950419cb | |
parent | 3c05bedb5fef7a6ada63c5dbf61e1258b9019f05 (diff) |
Staging: rtl8821ae: rc.c: fix up function prototypes
These function parameters are incorrect for the callbacks. Luckily the
functions don't actually do anything, so the code still "works" just
fine...
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8821ae/rc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/rtl8821ae/rc.c b/drivers/staging/rtl8821ae/rc.c index 70afdceb991b..d387f13ea7dc 100644 --- a/drivers/staging/rtl8821ae/rc.c +++ b/drivers/staging/rtl8821ae/rc.c | |||
@@ -228,6 +228,7 @@ static void rtl_tx_status(void *ppriv, | |||
228 | 228 | ||
229 | static void rtl_rate_init(void *ppriv, | 229 | static void rtl_rate_init(void *ppriv, |
230 | struct ieee80211_supported_band *sband, | 230 | struct ieee80211_supported_band *sband, |
231 | struct cfg80211_chan_def *chandef, | ||
231 | struct ieee80211_sta *sta, void *priv_sta) | 232 | struct ieee80211_sta *sta, void *priv_sta) |
232 | { | 233 | { |
233 | } | 234 | } |
@@ -242,6 +243,7 @@ static void rtl_rate_update(void *ppriv, | |||
242 | #else | 243 | #else |
243 | static void rtl_rate_update(void *ppriv, | 244 | static void rtl_rate_update(void *ppriv, |
244 | struct ieee80211_supported_band *sband, | 245 | struct ieee80211_supported_band *sband, |
246 | struct cfg80211_chan_def *chandef, | ||
245 | struct ieee80211_sta *sta, void *priv_sta, | 247 | struct ieee80211_sta *sta, void *priv_sta, |
246 | u32 changed) | 248 | u32 changed) |
247 | { | 249 | { |