From: James A Shackleford Date: Mon, 2 Jun 2014 02:19:31 +0000 (-0400) Subject: staging: vt6655: update out-of-date function declaration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b47056707ed4c73b4f320b3049228b4bc1f51ad3;p=openwrt%2Fstaging%2Fblogic.git staging: vt6655: update out-of-date function declaration 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/iwctl.h b/drivers/staging/vt6655/iwctl.h index 871bd7c4e716..4ad5e48a025f 100644 --- a/drivers/staging/vt6655/iwctl.h +++ b/drivers/staging/vt6655/iwctl.h @@ -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, by Einsn Liu