X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev.h;h=0c7ca12f10def122a55a8359cc2968df491e2910;hp=5d54b5443248c894f142169de404bad78d8f4086;hb=6ecd4d1e364ea8104c83e36b82d1c23835fb104b;hpb=7155bfb7fa7d72bc4e7341ad1481ffd4c6e39f97 diff --git a/udev.h b/udev.h index 5d54b5443..0c7ca12f1 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 */