diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-04-05 22:29:33 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-04-05 22:29:33 +0200 |
commit | a4d5ca644ed8bc59274967c17981d7448a075c07 (patch) | |
tree | dab1bf1e0604a4469ca0d55a972b070e6b55b368 /udev.h | |
parent | 1017f139b311d7185f57f803c176f191e6d0ce3b (diff) |
merge device event handling and make database content available on "remove"
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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); |