summaryrefslogtreecommitdiff
path: root/udev_rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev_rules.h')
-rw-r--r--udev_rules.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/udev_rules.h b/udev_rules.h
index 6d9d306ded..125babf1c5 100644
--- a/udev_rules.h
+++ b/udev_rules.h
@@ -22,7 +22,6 @@
#ifndef UDEV_RULES_H
#define UDEV_RULES_H
-#include "libsysfs/sysfs/libsysfs.h"
#include "udev.h"
#include "list.h"
@@ -104,18 +103,15 @@ struct udev_rules {
};
extern int udev_rules_init(struct udev_rules *rules, int resolve_names);
-extern void udev_rules_close(struct udev_rules *rules);
+extern void udev_rules_cleanup(struct udev_rules *rules);
-extern void udev_apply_format(struct udevice *udev, char *string, size_t maxsize,
- struct sysfs_class_device *class_dev, struct sysfs_device *sysfs_device);
+extern void udev_apply_format(struct udevice *udev, char *string, size_t maxsize);
extern void udev_rules_iter_init(struct udev_rules *rules);
extern struct udev_rule *udev_rules_iter_next(struct udev_rules *rules);
extern struct udev_rule *udev_rules_iter_label(struct udev_rules *rules, const char *label);
-extern int udev_rules_get_name(struct udev_rules *rules, struct udevice *udev,
- struct sysfs_class_device *class_dev);
-extern int udev_rules_get_run(struct udev_rules *rules, struct udevice *udev,
- struct sysfs_class_device *class_dev, struct sysfs_device *sysfs_dev);
+extern int udev_rules_get_name(struct udev_rules *rules, struct udevice *udev);
+extern int udev_rules_get_run(struct udev_rules *rules, struct udevice *udev);
#endif