summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-06-03 00:01:46 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-06-03 00:01:46 +0200
commit953249a3a01cbd442b42558168da6c76a92a0e40 (patch)
tree1b7c3d8c91da6cc04eec719badc9d099d2c3fa9e /udev.h
parent5e9eb88f2f6d99eaee16aeeb76ac08a1bf98a668 (diff)
add TEST=="<file>" key
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 94d054f760..64510ed35f 100644
--- a/udev.h
+++ b/udev.h
@@ -119,6 +119,7 @@ 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);
extern int sysfs_resolve_link(char *path, size_t size);
+extern int sysfs_lookup_devpath_by_subsys_id(char *devpath, size_t len, const char *subsystem, const char *id);
/* udev_node.c */
extern int udev_node_mknod(struct udevice *udev, const char *file, dev_t devt, mode_t mode, uid_t uid, gid_t gid);