summaryrefslogtreecommitdiff
path: root/wait_for_sysfs.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-07 00:11:04 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:03 -0700
commite284ecba7646562da9ad4c3c22871f6c341960d4 (patch)
tree25df1ce95aaf587242db435190a89f01454f0448 /wait_for_sysfs.c
parente629ca3f499baae644deae8c151e86e052f02113 (diff)
[PATCH] add support for usb interfaces to wait_for_sysfs to keep it quiet.
Diffstat (limited to 'wait_for_sysfs.c')
-rw-r--r--wait_for_sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c
index 6275db23b1..28ff43bdb5 100644
--- a/wait_for_sysfs.c
+++ b/wait_for_sysfs.c
@@ -174,6 +174,7 @@ static int wait_for_bus_device(struct sysfs_device *device_dev)
{ .bus = "scsi", .file = "vendor" },
{ .bus = "usb", .file = "idVendor" },
{ .bus = "usb", .file = "iInterface" },
+ { .bus = "usb", .file = "bNumEndpoints" },
{ .bus = "usb-serial", .file = "detach_state" },
{ .bus = "ide", .file = "detach_state" },
{ .bus = "pci", .file = "vendor" },