diff options
author | J.R. Mauro <jrm8005@gmail.com> | 2008-11-07 17:49:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:10 -0800 |
commit | 063e95c7360cd7153caebfa44315bad109fee1da (patch) | |
tree | e1ce644acbafb721f6aac4ce517749ebb4c02fa4 | |
parent | da3e89082d8d3018b63589e435defd6bd9feb0f5 (diff) | |
download | op-kernel-dev-063e95c7360cd7153caebfa44315bad109fee1da.zip op-kernel-dev-063e95c7360cd7153caebfa44315bad109fee1da.tar.gz |
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: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/otus/usbdrv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/otus/usbdrv.c b/drivers/staging/otus/usbdrv.c index 2bef4f9..2f9d06e 100644 --- a/drivers/staging/otus/usbdrv.c +++ b/drivers/staging/otus/usbdrv.c @@ -287,7 +287,7 @@ static const iw_handler usbdrv_private_handler[] = 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_private = sizeof(usbdrv_private_handler)/sizeof(iw_handler), .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) #endif //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_close(struct net_device *dev); |