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>
cardp->rx_urb_recall = 0;
- if_usb_submit_rx_urb(cardp->priv);
+ if_usb_submit_rx_urb(cardp);
netif_device_attach(cardp->eth_dev);
netif_device_attach(priv->mesh_dev);
#include <linux/wait.h>
#include <linux/timer.h>
+struct lbs_private;
+
/**
* This file contains definition for USB interface.
*/
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;