summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2008-01-25 23:51:23 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-01 04:26:57 +0100
commit476842b1962c7cf5ccea57dcfad26dc77d16e363 (patch)
treea0f454f74816dc4d4f67c40445acfa8abf63206d /drivers/net
parentrndis_host: export functions (diff)
downloadlinux-476842b1962c7cf5ccea57dcfad26dc77d16e363.tar.xz
linux-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')
-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;