summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/channel.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2015-11-22 09:07:16 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 19:02:03 -0800
commitcea57ee6be0a94ff9f9a73e99800b5d25e7229d1 (patch)
tree8002186f236aeb4154b32e602f91c1c40973d00c /drivers/staging/vt6655/channel.c
parent35eb8ecd35df8d880b65789282cf97eb1dd8481c (diff)
staging: vt6655: set_channel replace void handler.
Replace with struct vnt_private. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/channel.c')
-rw-r--r--drivers/staging/vt6655/channel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/channel.c b/drivers/staging/vt6655/channel.c
index 6edccb42231e..d1c91165f769 100644
--- a/drivers/staging/vt6655/channel.c
+++ b/drivers/staging/vt6655/channel.c
@@ -174,9 +174,8 @@ void vnt_init_bands(struct vnt_private *priv)
* Return Value: true if succeeded; false if failed.
*
*/
-bool set_channel(void *pDeviceHandler, struct ieee80211_channel *ch)
+bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
{
- struct vnt_private *priv = pDeviceHandler;
bool bResult = true;
if (priv->byCurrentCh == ch->hw_value)