summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2002-12-13 01:57:54 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-12-13 01:57:54 -0800
commit6c3b56e8fe530f87f30d44586f7e4a3471478f89 (patch)
treebf7d270c169cd4215057f259540e9d4b608fb8f9 /include
parent191f0f050d74c342f000f0fd47967ed4963fc49d (diff)
parent08792789671c2758e483aaf7b8ced8aef10c6d04 (diff)
Merge bk://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 9cc9f1d2e2df..88557d5957a7 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -117,6 +117,7 @@ struct usb_interface {
unsigned max_altsetting; /* total memory allocated */
struct usb_driver *driver; /* driver */
+ kdev_t kdev; /* node this interface is bound to */
struct device dev; /* interface specific device info */
void *private_data;
};
@@ -271,6 +272,8 @@ extern void usb_driver_release_interface(struct usb_driver *driver,
const struct usb_device_id *usb_match_id(struct usb_interface *interface,
const struct usb_device_id *id);
+struct usb_interface *usb_find_interface(struct usb_driver *drv, kdev_t kdev);
+
/**
* usb_make_path - returns stable device path in the usb tree
* @dev: the device whose path is being constructed