summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-04-05 22:29:33 +0200
committerKay Sievers <kay.sievers@suse.de>2006-04-05 22:29:33 +0200
commita4d5ca644ed8bc59274967c17981d7448a075c07 (patch)
treedab1bf1e0604a4469ca0d55a972b070e6b55b368 /udev.h
parent1017f139b311d7185f57f803c176f191e6d0ce3b (diff)
merge device event handling and make database content available on "remove"
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/udev.h b/udev.h
index 2652d46ada..615253a52f 100644
--- a/udev.h
+++ b/udev.h
@@ -117,12 +117,10 @@ 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 */
-extern int udev_make_node(struct udevice *udev, const char *file, dev_t devt, mode_t mode, uid_t uid, gid_t gid);
-extern int udev_add_device(struct udevice *udev);
-
-/* udev_remove.c */
-extern int udev_remove_device(struct udevice *udev);
+/* 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);
+extern int udev_node_add(struct udevice *udev);
+extern int udev_node_remove(struct udevice *udev);
/* udev_db.c */
extern int udev_db_add_device(struct udevice *dev);