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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux