summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-08 00:28:16 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:04 -0700
commit2cb3973610958ea3991e3be8e6848060069ca458 (patch)
treea52445a97c5ca65280f6ca5457cd87705989a4ea
parentda767d0739c86a04a0c0326cebff6c08ffe1228c (diff)
[PATCH] add comment in wait_for_sysfs to explain the structure better.
-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 cb94b6440..2504b2e0c 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;