diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-14 12:14:34 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 15:04:19 -0700 |
commit | 9bde7497e0b54178c317fac47a18be7f948dd471 (patch) | |
tree | 395a1c86801a1ba1bd04a007ffac3c5a73d9f27d /include/linux | |
parent | 36679ea59846d8f34a48f71ca1a37671ca0ad3c5 (diff) | |
download | op-kernel-dev-9bde7497e0b54178c317fac47a18be7f948dd471.zip op-kernel-dev-9bde7497e0b54178c317fac47a18be7f948dd471.tar.gz |
[PATCH] USB: make endpoints real struct devices
This will allow for us to give endpoints a major/minor to create a
"usbfs2-like" way to access endpoints directly from userspace in an
easier manner than the current usbfs provides us.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/usb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index 5ad30ce..46956a7 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -40,6 +40,8 @@ struct usb_driver; * Devices may also have class-specific or vendor-specific descriptors. */ +struct ep_device; + /** * struct usb_host_endpoint - host-side endpoint descriptor and queue * @desc: descriptor for this endpoint, wMaxPacketSize in native byteorder @@ -57,7 +59,7 @@ struct usb_host_endpoint { struct usb_endpoint_descriptor desc; struct list_head urb_list; void *hcpriv; - struct kobject *kobj; /* For sysfs info */ + struct ep_device *ep_dev; /* For sysfs info */ unsigned char *extra; /* Extra descriptors */ int extralen; |