Commit 063e95c7 authored by J.R. Mauro's avatar J.R. Mauro Committed by Greg Kroah-Hartman

Staging: otus: fix name clash

Make p80211wext_handler_def in the otus driver static. It's not used outside
this file and causes name clashes if it's visible.

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent da3e8908
...@@ -287,7 +287,7 @@ static const iw_handler usbdrv_private_handler[] = ...@@ -287,7 +287,7 @@ static const iw_handler usbdrv_private_handler[] =
NULL, /* SIOCIWFIRSTPRIV */ NULL, /* SIOCIWFIRSTPRIV */
}; };
struct iw_handler_def p80211wext_handler_def = { static struct iw_handler_def p80211wext_handler_def = {
.num_standard = sizeof(usbdrvwext_handler) / sizeof(iw_handler), .num_standard = sizeof(usbdrvwext_handler) / sizeof(iw_handler),
.num_private = sizeof(usbdrv_private_handler)/sizeof(iw_handler), .num_private = sizeof(usbdrv_private_handler)/sizeof(iw_handler),
.num_private_args = sizeof(usbdrv_private_args)/sizeof(struct iw_priv_args), .num_private_args = sizeof(usbdrv_private_args)/sizeof(struct iw_priv_args),
...@@ -948,7 +948,6 @@ int zfLnxUnregisterVapDev(struct net_device* parentDev, u16_t vapId) ...@@ -948,7 +948,6 @@ int zfLnxUnregisterVapDev(struct net_device* parentDev, u16_t vapId)
#endif #endif
//extern void zfiWlanQueryMacAddress(zdev_t* dev, u8_t* addr); //extern void zfiWlanQueryMacAddress(zdev_t* dev, u8_t* addr);
extern struct iw_handler_def p80211wext_handler_def;
extern int usbdrv_open(struct net_device *dev); extern int usbdrv_open(struct net_device *dev);
extern int usbdrv_close(struct net_device *dev); extern int usbdrv_close(struct net_device *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment