Re: [PATCH 9/9] isdn4linux: Siemens Gigaset drivers - M105 USB DECT adapter

From: Greg KH
Date: Tue Feb 14 2006 - 22:33:44 EST


On Sat, Feb 11, 2006 at 03:52:29PM +0100, Hansjoerg Lipp wrote:
> +
> +/* Get a minor range for your devices from the usb maintainer */
> +#define USB_SKEL_MINOR_BASE 200

I don't think you need this here anymore :)

> +struct usb_cardstate {
> + struct usb_device *udev; /* save off the usb device pointer */
> + struct usb_interface *interface; /* the interface for this device */

You can get to the usb_device from the usb_interface with a helper
function call, but if you want to save both pointers off too, that's
fine.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/