summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2008-01-26 00:51:23 +0200
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:26:57 -0800
commit476842b1962c7cf5ccea57dcfad26dc77d16e363 (patch)
treea0f454f74816dc4d4f67c40445acfa8abf63206d /drivers/net/usb
parent5665998cd75bbaaa9361471921e3a0d4c665bf00 (diff)
downloadlinux-stable-476842b1962c7cf5ccea57dcfad26dc77d16e363.tar.gz
linux-stable-476842b1962c7cf5ccea57dcfad26dc77d16e363.tar.bz2
linux-stable-476842b1962c7cf5ccea57dcfad26dc77d16e363.zip
usbnet: add driver_priv pointer to 'struct usbnet'
Add a private data pointer to usbnet for rndis_wlan module to use. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/usbnet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/usbnet.h b/drivers/net/usb/usbnet.h
index 29ab92e33e55..0b4bf09fc8b1 100644
--- a/drivers/net/usb/usbnet.h
+++ b/drivers/net/usb/usbnet.h
@@ -31,6 +31,7 @@ struct usbnet {
struct usb_interface *intf;
struct driver_info *driver_info;
const char *driver_name;
+ void *driver_priv;
wait_queue_head_t *wait;
struct mutex phy_mutex;
unsigned char suspend_count;