summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-01-18 04:24:48 +0100
committerKay Sievers <kay.sievers@suse.de>2006-01-18 04:24:48 +0100
commit6ecd4d1e364ea8104c83e36b82d1c23835fb104b (patch)
tree7a049a24be855fad92d9dfbbde89fc7fadaf0a93 /udev.h
parent7155bfb7fa7d72bc4e7341ad1481ffd4c6e39f97 (diff)
scsi_id, usb_id: request device parent by subsystem
Request specific parents identified by subsystem and don't rely on a predefined sequence. Also let the devpath be longer than 72 chars, tsss ... Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev.h b/udev.h
index 5d54b54432..0c7ca12f10 100644
--- a/udev.h
+++ b/udev.h
@@ -113,6 +113,7 @@ extern void sysfs_cleanup(void);
extern void sysfs_device_set_values(struct sysfs_device *dev, const char *devpath, const char *subsystem);
extern struct sysfs_device *sysfs_device_get(const char *devpath);
extern struct sysfs_device *sysfs_device_get_parent(struct sysfs_device *dev);
+extern struct sysfs_device *sysfs_device_get_parent_with_subsystem(struct sysfs_device *dev, const char *subsystem);
extern char *sysfs_attr_get_value(const char *devpath, const char *attr_name);
/* udev_add.c */