aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2008-01-25 17:51:23 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-31 22:26:57 -0500
commit476842b1962c7cf5ccea57dcfad26dc77d16e363 (patch)
treea0f454f74816dc4d4f67c40445acfa8abf63206d /drivers/net
parent5665998cd75bbaaa9361471921e3a0d4c665bf00 (diff)
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')
-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 {
31 struct usb_interface *intf; 31 struct usb_interface *intf;
32 struct driver_info *driver_info; 32 struct driver_info *driver_info;
33 const char *driver_name; 33 const char *driver_name;
34 void *driver_priv;
34 wait_queue_head_t *wait; 35 wait_queue_head_t *wait;
35 struct mutex phy_mutex; 36 struct mutex phy_mutex;
36 unsigned char suspend_count; 37 unsigned char suspend_count;