diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-11 12:53:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:06:43 -0800 |
commit | 6bc822b5164e66ab9b93f96172df8902bfd37618 (patch) | |
tree | 5def4d4a14c99c60867d48e2abb4247d90f68e3e /drivers/net/wireless/libertas/if_usb.h | |
parent | 6e66f03ff78b23d845920739373b1561c546b13f (diff) |
libertas: switch USB cardp->priv to 'struct lbs_private *' and resulting fix
Amazing what interesting things the compiler will tell you if you let it
know what types you expect to be passing around.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.h')
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.h b/drivers/net/wireless/libertas/if_usb.h index 224c957e292d..f028df1d018c 100644 --- a/drivers/net/wireless/libertas/if_usb.h +++ b/drivers/net/wireless/libertas/if_usb.h @@ -4,6 +4,8 @@ #include <linux/wait.h> #include <linux/timer.h> +struct lbs_private; + /** * This file contains definition for USB interface. */ @@ -48,7 +50,7 @@ struct usb_card_rec { struct net_device *eth_dev; struct usb_device *udev; struct urb *rx_urb, *tx_urb; - void *priv; + struct lbs_private *priv; struct read_cb_info rinfo; int bulk_in_size; |