]> err.no Git - linux-2.6/commitdiff
usbnet: add driver_priv pointer to 'struct usbnet'
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Fri, 25 Jan 2008 22:51:23 +0000 (00:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:26:57 +0000 (19:26 -0800)
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>
drivers/net/usb/usbnet.h

index 29ab92e33e55d41d236649b7c8b2fd69cd8bafde..0b4bf09fc8b150b19d3f88ea70fc619c9959beb6 100644 (file)
@@ -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;