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>
This commit is contained in:
Malcolm Priestley 2015-11-22 09:07:16 +00:00 committed by Greg Kroah-Hartman
parent 35eb8ecd35
commit cea57ee6be
2 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -27,6 +27,6 @@
void vnt_init_bands(struct vnt_private *);
bool set_channel(void *pDeviceHandler, struct ieee80211_channel *);
bool set_channel(struct vnt_private *, struct ieee80211_channel *);
#endif /* _CHANNEL_H_ */