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/
- References:
- [PATCH 0/9] isdn4linux: add drivers for Siemens Gigaset ISDN DECT PABX
- From: Hansjoerg Lipp <[email protected]>
- [PATCH 1/9] isdn4linux: Siemens Gigaset drivers - Kconfigs and Makefiles
- From: Hansjoerg Lipp <[email protected]>
- [PATCH 2/9] isdn4linux: Siemens Gigaset drivers - common module
- From: Hansjoerg Lipp <[email protected]>
- [PATCH 3/9] isdn4linux: Siemens Gigaset drivers - event layer
- From: Hansjoerg Lipp <[email protected]>
- [PATCH 4/9] isdn4linux: Siemens Gigaset drivers - isdn4linux interface
- From: Hansjoerg Lipp <[email protected]>
- [PATCH 5/9] isdn4linux: Siemens Gigaset drivers - tty interface
- From: Hansjoerg Lipp <[email protected]>
- [PATCH 6/9] isdn4linux: Siemens Gigaset drivers - procfs interface
- From: Hansjoerg Lipp <[email protected]>
- [PATCH 7/9] isdn4linux: Siemens Gigaset drivers - direct USB connection
- From: Hansjoerg Lipp <[email protected]>
- [PATCH 8/9] isdn4linux: Siemens Gigaset drivers - isochronous data handler
- From: Hansjoerg Lipp <[email protected]>
- [PATCH 9/9] isdn4linux: Siemens Gigaset drivers - M105 USB DECT adapter
- From: Hansjoerg Lipp <[email protected]>
- [PATCH 0/9] isdn4linux: add drivers for Siemens Gigaset ISDN DECT PABX
- Prev by Date: [PATCH] [CIFS] fix cifs_user_read oops when null SMB response on forcedirectio mount
- Next by Date: Fwd: [PATCH] kretprobe instance recycled by parent process
- Previous by thread: [PATCH 9/9] isdn4linux: Siemens Gigaset drivers - M105 USB DECT adapter
- Next by thread: Re: [PATCH 7/9] isdn4linux: Siemens Gigaset drivers - direct USB connection
- Index(es):