summaryrefslogtreecommitdiff
path: root/wait_for_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'wait_for_sysfs.c')
-rw-r--r--wait_for_sysfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c
index cb94b64404..2504b2e0c3 100644
--- a/wait_for_sysfs.c
+++ b/wait_for_sysfs.c
@@ -99,7 +99,8 @@ static int wait_for_class_device_attributes(struct sysfs_class_device *class_dev
/* skip waiting for physical device */
static int class_device_expect_no_device_link(struct sysfs_class_device *class_dev)
{
- /* List of devices without a "device" symlink */
+ /* List of devices without a "device" symlink
+ * set .device to NULL to accept all devices in that subsystem */
static struct class_device {
char *subsystem;
char *device;