staging: vt6655: update out-of-date function declaration
authorJames A Shackleford <shack@linux.com>
Mon, 2 Jun 2014 02:19:31 +0000 (22:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 23:35:09 +0000 (16:35 -0700)
The function iwctl_siwscan() is defined in iwctl.c as:
int iwctl_siwscan(struct net_device *dev,
  struct iw_request_info *info,
  struct iw_point *wrq,
  char *extra)
{
  ...

This patch updates iwctl.h so that the type of the 3rd parameter (*wqr) in the
function declaration matches the definition.

Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/iwctl.h

index 871bd7c..4ad5e48 100644 (file)
@@ -168,7 +168,7 @@ int iwctl_giwscan(struct net_device *dev,
 
 int iwctl_siwscan(struct net_device *dev,
                  struct iw_request_info *info,
-                 struct iw_param *wrq,
+                 struct iw_point *wrq,
                  char *extra);
 
 //2008-0409-07, <Add> by Einsn Liu