From 063e95c7360cd7153caebfa44315bad109fee1da Mon Sep 17 00:00:00 2001 From: "J.R. Mauro" Date: Fri, 7 Nov 2008 17:49:07 -0500 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/otus/usbdrv.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- 2.7.4